Skip to content

Commit

Permalink
Fix rate limit regression
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriha-chan committed Dec 10, 2023
1 parent d634da4 commit d5e4b55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/server/api/RateLimiterService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class RateLimiterService {
const max = (): void => {
const limiter = new Limiter({
id: `${actor}:${limitation.key}`,
duration: limitation.duration! * factor,
duration: limitation.duration!,
max: limitation.max! / factor,
db: this.redisClient,
});
Expand Down

0 comments on commit d5e4b55

Please sign in to comment.