-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Change query processing wait time to make response quick #7320
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
Change query processing wait time to make response quick #7320
Conversation
60cd225
to
2b19010
Compare
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.
👍
Head branch was pushed to by a user without write access
68cabab
to
2b19010
Compare
@arikfr Could you please re-approve and re-enable auto-merge ? Thank you. |
@arikfr Thank you!! And, can you merge it ? |
What type of PR is this?
Description
Before this PR, the query waiting interval is 0.5 seconds for up to 10 times, and 3 seconds after that.
So, the refreshStatus happens like: 0.5 / 1 / 1.5 / 2 / 2.5 / 3 / 3.5 / 4 / 4.5 / 5 / 8 / 11 / 14 (seconds) ...
There is large gap around ".. 4.5 / 5 / 8 ...".
This PR make the retrying interval gap more smooth by setting wait time to 1 second for retrying number between 11 and 50.
How is this tested?