Skip to content

Commit 4ed0ad3

Browse files
BigQuery: Avoid too long(10 seconds) interval for bigquery api to get results (#7342)
1 parent 2375f0b commit 4ed0ad3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redash/query_runner/big_query.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def _get_query_results(jobs, project_id, location, job_id, start_index):
8686
).execute()
8787
logging.debug("query_reply %s", query_reply)
8888
if not query_reply["jobComplete"]:
89-
time.sleep(10)
89+
time.sleep(1)
9090
return _get_query_results(jobs, project_id, location, job_id, start_index)
9191

9292
return query_reply

0 commit comments

Comments
 (0)