From a89971adf4b6865bafc35d36ae43be4c4441aac5 Mon Sep 17 00:00:00 2001 From: Seneca Meeks Date: Thu, 10 Oct 2024 15:02:18 -0700 Subject: [PATCH] decrease polling rate --- cirq-google/cirq_google/engine/engine_job.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cirq-google/cirq_google/engine/engine_job.py b/cirq-google/cirq_google/engine/engine_job.py index 929ea7c344f..5eca36e2840 100644 --- a/cirq-google/cirq_google/engine/engine_job.py +++ b/cirq-google/cirq_google/engine/engine_job.py @@ -304,7 +304,7 @@ async def _await_result_async(self) -> quantum.QuantumResult: job = await self._refresh_job_async() if job.execution_status.state in TERMINAL_STATES: break - await duet.sleep(0.5) + await duet.sleep(1) _raise_on_failure(job) response = await self.context.client.get_job_results_async( self.project_id, self.program_id, self.job_id