mirror of
https://github.com/browseros-ai/BrowserOS.git
synced 2026-05-15 00:49:53 +00:00
fix: exit within 500ms after signal
This commit is contained in:
@@ -91,7 +91,7 @@ export class Application {
|
||||
const forceExitTimeout = setTimeout(() => {
|
||||
logger.warn('Graceful shutdown timed out, forcing exit')
|
||||
process.exit(1)
|
||||
}, 5000)
|
||||
}, 500)
|
||||
|
||||
Promise.all([
|
||||
Promise.resolve(this.httpServer?.server.stop()),
|
||||
|
||||
Reference in New Issue
Block a user