Integrate deferred background processing into main OneService implementation.
This commit is contained in:
@@ -656,6 +656,10 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
// Start two background threads to handle expensive ops out of line
|
||||
Thread::start(_node);
|
||||
Thread::start(_node);
|
||||
|
||||
_nextBackgroundTaskDeadline = 0;
|
||||
uint64_t clockShouldBe = OSUtils::now();
|
||||
_lastRestart = clockShouldBe;
|
||||
|
||||
Reference in New Issue
Block a user