Increase grace period for server shutdown
This commit is contained in:
parent
504c55a636
commit
d63288fb27
|
@ -6,6 +6,7 @@ const port = parseInt(process.env.PORT, 10) || 5000
|
||||||
throng({
|
throng({
|
||||||
workers: process.env.WEB_CONCURRENCY || 1,
|
workers: process.env.WEB_CONCURRENCY || 1,
|
||||||
lifetime: Infinity,
|
lifetime: Infinity,
|
||||||
|
grace: 25000,
|
||||||
start: function (id) {
|
start: function (id) {
|
||||||
const server = createServer()
|
const server = createServer()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue