Skip to content

Commit

Permalink
Be less conservative with rate limiting, as hit the limits quite easily.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinheghan committed Aug 25, 2024
1 parent 796cda2 commit 16d0c77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rate_limit.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as views from "#src/views";

const maxTokens = 60;
const tokenIncreaseEveryMs = 1000;
const maxTokens = 1000;
const tokenIncreaseEveryMs = 100;

let availableTokens = maxTokens;

Expand Down

0 comments on commit 16d0c77

Please sign in to comment.