Skip to content

Commit f94148a

Browse files
authored
Merge pull request #61 from accelerated/master
Updated quantum schema with the queue range for 'any'.
2 parents a39fd0b + 28d732f commit f94148a

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/quantum/impl/quantum_configuration_impl.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@ const std::string& Configuration::getJsonSchema()
6464
"loadBalancePollIntervalNumBackoffs": {
6565
"type": "number",
6666
"default": 0
67+
},
68+
"coroQueueIdRangeForAnyLow": {
69+
"type": "number",
70+
"default": -1
71+
},
72+
"coroQueueIdRangeForAnyHigh": {
73+
"type": "number",
74+
"default": -1
6775
}
6876
},
6977
"additionalProperties": false,

src/quantum/quantum_configuration.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ class Configuration
128128
std::chrono::milliseconds _loadBalancePollIntervalMs{100};
129129
BackoffPolicy _loadBalancePollIntervalBackoffPolicy{BackoffPolicy::Linear};
130130
size_t _loadBalancePollIntervalNumBackoffs{0};
131-
std::pair<int, int> _coroQueueIdRangeForAny{0, -1};
131+
std::pair<int, int> _coroQueueIdRangeForAny{-1, -1};
132132
};
133133

134134
}}

0 commit comments

Comments
 (0)