mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🐛 退出应用时数据库未完全写入 https://github.com/siyuan-note/siyuan/issues/6318
This commit is contained in:
parent
4ae5698ea6
commit
db04bfa572
5 changed files with 27 additions and 12 deletions
|
|
@ -89,3 +89,11 @@ func SetNetworkProxy(proxyURL string) {
|
|||
logging.LogInfof("use network proxy [%s]", proxyURL)
|
||||
}
|
||||
}
|
||||
|
||||
const (
|
||||
// FrontendQueueInterval 为前端请求队列轮询间隔。
|
||||
FrontendQueueInterval = 512 * time.Millisecond
|
||||
|
||||
// SQLFlushInterval 为数据库事务队列写入间隔。
|
||||
SQLFlushInterval = 3000 * time.Millisecond
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue