diff options
Diffstat (limited to 'service')
-rw-r--r-- | service/OneService.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/service/OneService.cpp b/service/OneService.cpp index 8c8ff1ed..e0ead047 100644 --- a/service/OneService.cpp +++ b/service/OneService.cpp @@ -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; |