move limiter before mongo call

This commit is contained in:
TheBeastLT
2024-01-21 23:14:44 +02:00
parent 8a4eb4cdfe
commit 4ee220a1ad
2 changed files with 4 additions and 4 deletions

View File

@@ -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