Exit main process after too many exceptions
This commit is contained in:
1 parent
2f276c7ce2
commit
521907fa7d
2 files changed
+30
-6
No files matched your search
+1
-3
@@ -70,13 +70,11 @@ exit = () ->
|
||||
)
|
||||
, 30000).unref()
|
||||
|
||||
cluster.worker?.disconnect()
|
||||
|
||||
closeServer(20000, () ->
|
||||
db.disconnect()
|
||||
cache.disconnect()
|
||||
extensions.killAll()
|
||||
logger.close()
|
||||
cluster.worker?.disconnect()
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user