mirror of
https://gitee.com/openharmony/distributeddatamgr_relational_store
synced 2024-11-23 07:00:41 +00:00
!1894 防止杀掉客户端进程后,200ms 内的任务丢失(从线程池中),增加心跳机制进行保底
Merge pull request !1894 from 剑魄未改/master
This commit is contained in:
commit
a754595bec
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user