Fix orphan extension processes bug
Issue happens after an exception occurs and existing sessions fail to finish within the timeout period.
This commit is contained in:
1 parent
d74c56f182
commit
4be709a61b
2 files changed
+29
-10
No files matched your search
+3
-1
@@ -41,7 +41,9 @@ server = null
|
||||
|
||||
exit = () ->
|
||||
setTimeout(() ->
|
||||
process.exit(1)
|
||||
extensions.killAll(() ->
|
||||
process.exit(1)
|
||||
)
|
||||
, 30000).unref()
|
||||
|
||||
cluster.worker?.disconnect()
|
||||
|
||||
Reference in new issue
Block a user