Skip to content

Commit

Permalink
Higher /art rate limit
Browse files Browse the repository at this point in the history
  • Loading branch information
ronnygunawan authored Apr 23, 2024
1 parent 5e4c4ce commit a854b0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BotNet.CommandHandlers/Art/ArtCommandHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public sealed class ArtCommandHandler(
ITelegramBotClient telegramBotClient,
ICommandQueue commandQueue
) : ICommandHandler<ArtCommand> {
internal static readonly RateLimiter IMAGE_GENERATION_RATE_LIMITER = RateLimiter.PerUser(1, TimeSpan.FromMinutes(5));
internal static readonly RateLimiter IMAGE_GENERATION_RATE_LIMITER = RateLimiter.PerUser(2, TimeSpan.FromMinutes(3));

private readonly ITelegramBotClient _telegramBotClient = telegramBotClient;
private readonly ICommandQueue _commandQueue = commandQueue;
Expand Down

0 comments on commit a854b0c

Please sign in to comment.