From 28d732f5e9ba708422c692322c46b8afd2ddbc8c Mon Sep 17 00:00:00 2001 From: Alexander Damian Date: Tue, 19 Mar 2019 09:09:31 -0400 Subject: [PATCH] Updated quantum schema with the queue range for 'any'. Signed-off-by: Alexander Damian --- src/quantum/impl/quantum_configuration_impl.h | 8 ++++++++ src/quantum/quantum_configuration.h | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/quantum/impl/quantum_configuration_impl.h b/src/quantum/impl/quantum_configuration_impl.h index 8666253..aa29e37 100644 --- a/src/quantum/impl/quantum_configuration_impl.h +++ b/src/quantum/impl/quantum_configuration_impl.h @@ -64,6 +64,14 @@ const std::string& Configuration::getJsonSchema() "loadBalancePollIntervalNumBackoffs": { "type": "number", "default": 0 + }, + "coroQueueIdRangeForAnyLow": { + "type": "number", + "default": -1 + }, + "coroQueueIdRangeForAnyHigh": { + "type": "number", + "default": -1 } }, "additionalProperties": false, diff --git a/src/quantum/quantum_configuration.h b/src/quantum/quantum_configuration.h index c427984..d3f03ad 100644 --- a/src/quantum/quantum_configuration.h +++ b/src/quantum/quantum_configuration.h @@ -128,7 +128,7 @@ class Configuration std::chrono::milliseconds _loadBalancePollIntervalMs{100}; BackoffPolicy _loadBalancePollIntervalBackoffPolicy{BackoffPolicy::Linear}; size_t _loadBalancePollIntervalNumBackoffs{0}; - std::pair _coroQueueIdRangeForAny{0, -1}; + std::pair _coroQueueIdRangeForAny{-1, -1}; }; }}