🎨 改进内核任务调度机制提升稳定性 https://github.com/siyuan-note/siyuan/issues/7113
This commit is contained in:
parent
89fd4d9264
commit
b44f7b30ed
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue