!1894 防止杀掉客户端进程后,200ms 内的任务丢失(从线程池中),增加心跳机制进行保底

Merge pull request !1894 from 剑魄未改/master
This commit is contained in:
openharmony_ci 2024-11-09 08:58:15 +00:00 committed by Gitee
commit a754595bec
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -93,7 +93,7 @@ void DelayNotify::StartTimer()
pool_->Reset(delaySyncTaskId_, std::chrono::milliseconds(autoSyncInterval_));
}
if (autoSyncInterval_ == AUTO_SYNC_INTERVAL || changedData.tableData.empty()) {
if (changedData.tableData.empty()) {
return;
}