Clear datastore limitations on restart(temporary)
parent
98636d494a
commit
ac9ca4df39
|
@ -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
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue