-
Notifications
You must be signed in to change notification settings - Fork 309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HPCC-33587 Add option to set minimum query execution time #19586
base: candidate-9.10.x
Are you sure you want to change the base?
HPCC-33587 Add option to set minimum query execution time #19586
Conversation
Jira Issue: https://hpccsystems.atlassian.net//browse/HPCC-33587 Jirabot Action Result: |
728a491
to
323f176
Compare
{ | ||
unsigned delay = options.minTimeLimit - nanoToMilli(elapsed); | ||
MilliSleep(delay); | ||
logctx.noteStatistic(StTimeDelayed, delay); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be in nano seconds.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved
6083350
to
f945963
Compare
Rebased and repushed to resolve conflict. Let me know when you want me to squash. |
Allow minium query time to be specified. Apply minimum time to queries called via SOAP too. This will apply the limit to each in an array of requests, which I think is what is wanted. The delays will happen in parallel if the queries can be done in parallel. Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
f945963
to
ba5cfe3
Compare
Type of change:
Checklist:
Smoketest:
Testing:
Tested using testsocket, and a simple Roxie query running SOAPCALL to test the soap request array variant.