move limiter before mongo call
This commit is contained in:
@@ -29,7 +29,7 @@ function initiateRemoteCache() {
|
||||
uri: MONGO_URI,
|
||||
options: {
|
||||
collection: 'torrentio_addon_collection',
|
||||
socketTimeoutMS: 120000,
|
||||
socketTimeoutMS: 30000,
|
||||
useNewUrlParser: true,
|
||||
useUnifiedTopology: false,
|
||||
ttl: STREAM_EMPTY_TTL
|
||||
|
||||
Reference in New Issue
Block a user