Skip to content

Commit

Permalink
increase result timeout for direct-access API.
Browse files Browse the repository at this point in the history
  • Loading branch information
wilfried-huss committed Jun 12, 2024
1 parent fa34104 commit 37d8ea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qiskit_aqt_provider/aqt_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def result(self, job_id: UUID) -> api_models_direct.JobResult:
Returns:
Job result, as API payload.
"""
resp = self._http_client.get(f"/circuit/result/{job_id}")
resp = self._http_client.get(f"/circuit/result/{job_id}", timeout=3600)
resp.raise_for_status()
return api_models_direct.JobResult.model_validate(resp.json())

Expand Down

0 comments on commit 37d8ea6

Please sign in to comment.