Clear datastore limitations on restart(temporary)

master
j 2024-04-06 02:04:06 -04:00
parent 98636d494a
commit ac9ca4df39
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ class SessionManager {
this.limiter = new Bottleneck({
id: "rDramaAPI-Oregon-limiter",
datastore: "ioredis",
clearDatastore: false,
clearDatastore: true,
clientOptions: {
host: process.env.REDIS_HOST!,
port: Number(process.env.REDIS_PORT),
@ -38,7 +38,7 @@ class SessionManager {
reservoirIncreaseMaximum: 1000,
// Safety configurations
maxConcurrent: 1, // Maximum number of concurrent requests
maxConcurrent: 10, // Maximum number of concurrent requests
minTime: 1000, // Minimum time between dispatches of requests in milliseconds
});