f6b58338 by RSA

fix

1 parent 762b3086
Showing 1 changed file with 2 additions and 2 deletions
......@@ -14,8 +14,8 @@ const configuration = new Configuration({
const openai = new OpenAIApi(configuration);
const rateLimiter = rateLimit({
windowMs: 1000 * 60 * 2, // 1 minute (refreshTime)
max: 10, // limit each IP to x requests per windowMs (refreshTime)
windowMs: 1000 * 60 * 1, // 1 minute (refreshTime)
max: 3000, // limit each IP to x requests per windowMs (refreshTime)
message: 'Sorry, too many requests. Please try again in a bit!',
});
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!