hydra-express
Advanced tools
Comparing version 1.4.7-experimental to 1.4.8-experimental
12
index.js
@@ -288,3 +288,3 @@ /** | ||
this.config = config; | ||
return Promise.series(this.registeredPlugins, plugin => plugin.setConfig(config)); | ||
return Promise.series(this.registeredPlugins, (plugin) => plugin.setConfig(config)); | ||
}) | ||
@@ -297,3 +297,3 @@ .then(() => hydra.registerService()) | ||
this.initService(); | ||
return Promise.series(this.registeredPlugins, plugin => plugin.onServiceReady()); | ||
return Promise.series(this.registeredPlugins, (plugin) => plugin.onServiceReady()); | ||
}) | ||
@@ -380,10 +380,2 @@ .then((..._results) => { | ||
if (this.config.environment !== 'development') { | ||
this.config.maxSockets = this.config.maxSockets || 500; | ||
if (this.config.maxSockets) { | ||
// increase max socket when used outside of development | ||
http.globalAgent.maxSockets = this.config.maxSockets; | ||
} | ||
} | ||
this.server = http.createServer(app); | ||
@@ -390,0 +382,0 @@ |
{ | ||
"name": "hydra-express", | ||
"version": "1.4.7-experimental", | ||
"version": "1.4.8-experimental", | ||
"description": "A module which wraps Hydra and ExpressJS to provide an out of the box microservice which can support API routes and handlers.", | ||
@@ -5,0 +5,0 @@ "author": { |
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
900443
733