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

Fix returned HTTP error when query runs too long #3320

Merged
merged 1 commit into from
Jan 28, 2024

Conversation

lonvia
Copy link
Member

@lonvia lonvia commented Jan 27, 2024

The code was only catching the generic TimeoutError. In Python <= 3.10 asyncio.TimeoutError is still something distinct, so catch them both.

Fixes #3303.

In Python <= 3.10 this is not yet the same as TimeoutError.

Fixes osm-search#3303.
@lonvia lonvia merged commit dcebea3 into osm-search:master Jan 28, 2024
9 checks passed
@lonvia lonvia deleted the fix-timeout-return-code branch January 28, 2024 09:37
@MinhazAhmed24
Copy link

how do remove parent security and parent connenction

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.

Python frontend takes long time to processes certain queries and returns 500 error to the user
2 participants