Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
stigerasmussen committed Nov 22, 2022
1 parent 3322eda commit 968d564
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qiskit_braket_provider/providers/braket_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ def retry_if_result_none(result):

@retry(
retry_on_result=retry_if_result_none,
stop_max_delay=os.environ.get("QISKIT_BRAKET_PROVIDER_MAX_DELAY", 60000),
wait_fixed=os.environ.get("QISKIT_BRAKET_PROVIDER_WAIT_TIME", 2000),
stop_max_delay=int(os.environ.get("QISKIT_BRAKET_PROVIDER_MAX_DELAY", 60000)),
wait_fixed=int(os.environ.get("QISKIT_BRAKET_PROVIDER_WAIT_TIME", 2000)),
wrap_exception=True,
)
def _get_result_from_aws_tasks(
Expand Down

0 comments on commit 968d564

Please sign in to comment.