@storyous/common-utils
Advanced tools
Comparing version 4.4.3 to 4.5.0
@@ -25,5 +25,11 @@ 'use strict'; | ||
const _options = Object.assign({ | ||
autoReconnect: true, | ||
reconnectTries: Number.MAX_SAFE_INTEGER, | ||
bufferMaxEntries: 1000 | ||
}, options); | ||
try { | ||
this.db = await MongoClient.connect(url, options); | ||
this.db = await MongoClient.connect(url, _options); | ||
@@ -30,0 +36,0 @@ process.stdout.write('Connected into database. \n'); |
{ | ||
"name": "@storyous/common-utils", | ||
"version": "4.4.3", | ||
"version": "4.5.0", | ||
"description": "Common utils for storyous microservices", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53416
1661