Skip to content
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

[query] Allow timeout override from query string #2259

Closed
wants to merge 3 commits into from

Conversation

arnikola
Copy link
Collaborator

@arnikola arnikola commented Apr 9, 2020

No description provided.

@arnikola arnikola force-pushed the arnikola/query-timeout branch from 5e93fd1 to f544954 Compare April 9, 2020 04:57
@arnikola arnikola changed the title Arnikola/query timeout [query] Allow timeout override from query string Apr 9, 2020
Copy link
Collaborator

@rallen090 rallen090 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

return 0, err
}

timeout = r.FormValue("timeout")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is safe even when timeout is absent I assume?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It'll be an empty string, yeah

@arnikola
Copy link
Collaborator Author

arnikola commented Apr 9, 2020

Removing in favour of existing #2226

@arnikola arnikola closed this Apr 9, 2020
@arnikola arnikola deleted the arnikola/query-timeout branch April 9, 2020 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants