Skip to content

Replace fixed wait in get_query_results() with polling loop - #126

Open
szachovy wants to merge 1 commit into
masterfrom
fix/58-query-results-retry
Open

Replace fixed wait in get_query_results() with polling loop#126
szachovy wants to merge 1 commit into
masterfrom
fix/58-query-results-retry

Conversation

@szachovy

@szachovy szachovy commented Apr 8, 2026

Copy link
Copy Markdown
Owner

Remove the hard 45s sleep and replace with a polling loop (12 attempts × 15s = 180s max). The test now succeeds even when the Celery worker is slow during cold starts.

Closes #58

Remove the hard 45s sleep and replace with a polling loop (12 attempts
x 15s = 180s max). The test now succeeds even when the Celery worker is
slow to process the query during cold starts or memory pressure.

Closes #58

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

T-4: Functional test get_query_results() needs retry logic

1 participant