feathers-solr-node
Advanced tools
Comparing version 0.2.4 to 0.2.5
@@ -894,3 +894,4 @@ /*! | ||
path: params.fullPath, | ||
family: params.ipversion | ||
family: params.ipversion, | ||
timeout: params.timeout || 180000, | ||
}; | ||
@@ -906,5 +907,8 @@ | ||
request.on("error", function onError(err) { | ||
request.on("error", (err) =>{ | ||
if (callback) callback(err, null); | ||
}); | ||
request.on('timeout', () => { | ||
request.abort(); | ||
}); | ||
@@ -911,0 +915,0 @@ request.write(params.json); |
@@ -10,3 +10,3 @@ { | ||
"description": "Solr Adapter for Feathersjs. Base on Solr-client, so can also used as a Solr-client", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"repository": { | ||
@@ -13,0 +13,0 @@ "type": "git", |
107397
3105