service-pool
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "service-pool", | ||
"license": "MIT", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "A simple, lightweight, Resource Pool Manager for NodeJS", | ||
@@ -6,0 +6,0 @@ "homepage": "https://agilite.io", |
@@ -34,6 +34,3 @@ # service-pool | ||
id, | ||
onAdd: function () { | ||
const url = 'mongodb://localhost/dbname' | ||
return mongoose.createConnection(url) | ||
}, | ||
onAdd: mongoose.createConnection('mongodb://localhost/dbname'), | ||
onTest: function (service) { | ||
@@ -40,0 +37,0 @@ return service.readyState === 1 |
16996
70