Skip to content
代码片段 群组 项目
提交 8a0666e2 编辑于 作者: Timotej Ecimovic's avatar Timotej Ecimovic
浏览文件

Increase a default shutdown timer delay to 1500, now that it is configurable.

上级 bc381dce
No related branches found
No related tags found
无相关合并请求
......@@ -171,9 +171,9 @@ export function processCommandLineArguments(argv: string[]) {
default: false,
})
.option('cleanupDelay', {
desc: 'When shutting down zap, this provides a number of millisecons to wait for SQLite to perform cleanup. Default is: 1000',
desc: 'When shutting down zap, this provides a number of millisecons to wait for SQLite to perform cleanup. Default is: 1500',
type: 'number',
default: process.env[env.environmentVariable.cleanupDelay.name] || '1000',
default: process.env[env.environmentVariable.cleanupDelay.name] || '1500',
})
.option('reuseZapInstance', {
desc: `When starting zap, should zap attempt to reuse an instance of previous zap already running.`,
......
......@@ -67,7 +67,7 @@ export const environmentVariable = {
cleanupDelay: {
name: 'ZAP_CLEANUP_DELAY',
description:
'Amount of millisecons zap will wait for cleanups to perform. This is workaround for some SQLite bug. If unset, default is: 1000',
'Amount of millisecons zap will wait for cleanups to perform. This is workaround for some SQLite bug. If unset, default is: 1500',
},
}
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册