Skip to content

Commit

Permalink
Merge pull request #61 from accelerated/master
Browse files Browse the repository at this point in the history
Updated quantum schema with the queue range for 'any'.
  • Loading branch information
accelerated authored Mar 19, 2019
2 parents a39fd0b + 28d732f commit f94148a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions src/quantum/impl/quantum_configuration_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/quantum/quantum_configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class Configuration
std::chrono::milliseconds _loadBalancePollIntervalMs{100};
BackoffPolicy _loadBalancePollIntervalBackoffPolicy{BackoffPolicy::Linear};
size_t _loadBalancePollIntervalNumBackoffs{0};
std::pair<int, int> _coroQueueIdRangeForAny{0, -1};
std::pair<int, int> _coroQueueIdRangeForAny{-1, -1};
};

}}
Expand Down

0 comments on commit f94148a

Please sign in to comment.