mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-17 23:45:29 -05:00
fix: server keepAliveTimeout is in milliseconds, config value in seconds.
This commit is contained in:
parent
1c0b07a46e
commit
7f79c77354
1 changed files with 1 additions and 1 deletions
2
src/lib/bootstrap.js
vendored
2
src/lib/bootstrap.js
vendored
|
@ -91,7 +91,7 @@ function startVerdaccio(config: any,
|
|||
}
|
||||
if (config.server && config.server.keepAliveTimeout) {
|
||||
// $FlowFixMe library definition for node is not up to date (doesn't contain recent 8.0 changes)
|
||||
webServer.keepAliveTimeout = config.server.keepAliveTimeout;
|
||||
webServer.keepAliveTimeout = config.server.keepAliveTimeout * 1000;
|
||||
}
|
||||
unlinkAddressPath(addr);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue