🎨 改进内核任务调度机制提升稳定性 https://github.com/siyuan-note/siyuan/issues/7113

This commit is contained in:
Liang Ding 2023-01-20 00:25:50 +08:00
parent 89fd4d9264
commit b44f7b30ed
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -48,7 +48,7 @@ func PrependTask(action string, handler interface{}, args ...interface{}) {
defer queueLock.Unlock()
if QueueStatusRunning != taskQueueStatus {
logging.LogWarnf("task queue is paused, action [%s] will be ignored", action)
//logging.LogWarnf("task queue is paused, action [%s] will be ignored", action)
return
}
@ -61,7 +61,7 @@ func AppendTask(action string, handler interface{}, args ...interface{}) {
defer queueLock.Unlock()
if QueueStatusRunning != taskQueueStatus {
logging.LogWarnf("task queue is paused, action [%s] will be ignored", action)
//logging.LogWarnf("task queue is paused, action [%s] will be ignored", action)
return
}