diff options
Diffstat (limited to 'staging_vespalib/src/vespa/vespalib/util/foreground_thread_executor.h')
-rw-r--r-- | staging_vespalib/src/vespa/vespalib/util/foreground_thread_executor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/staging_vespalib/src/vespa/vespalib/util/foreground_thread_executor.h b/staging_vespalib/src/vespa/vespalib/util/foreground_thread_executor.h index ff523b1e35d..1862de910ab 100644 --- a/staging_vespalib/src/vespa/vespalib/util/foreground_thread_executor.h +++ b/staging_vespalib/src/vespa/vespalib/util/foreground_thread_executor.h @@ -26,6 +26,7 @@ public: return ExecutorStats(ExecutorStats::QueueSizeT(), _accepted.load(std::memory_order_relaxed), 0); } void setTaskLimit(uint32_t taskLimit) override { (void) taskLimit; } + uint32_t getTaskLimit() const override { return std::numeric_limits<uint32_t>::max(); } void wakeup() override { } }; |