Skip to content

Commit

Permalink
docs: cleanup naming in backoff jupyter notebook (#276)
Browse files Browse the repository at this point in the history
Signed-off-by: Caden Marofke <[email protected]>
  • Loading branch information
marofke authored Apr 1, 2024
1 parent 429bc8c commit 419260b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/research/retries_backoff_jitter.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -507,23 +507,23 @@
"overflow exception if the worker retries for an extended time.\n",
"\n",
"```\n",
"2023-08-09 06:34:07,647 INFO [bealine_worker_agent.aws.bealine] UpdateWorkerSchedule throttled. Retrying in 30 seconds...\n",
"2023-08-09 06:34:37,850 ERROR [bealine_worker_agent.scheduler] Exception in WorkerScheduler\n",
"2023-08-09 06:34:07,647 INFO [deadline_worker_agent.aws.deadline] UpdateWorkerSchedule throttled. Retrying in 30 seconds...\n",
"2023-08-09 06:34:37,850 ERROR [deadline_worker_agent.scheduler] Exception in WorkerScheduler\n",
"Traceback (most recent call last):\n",
" File \"/home/agentuser/.venv/lib/python3.9/site-packages/bealine_worker_agent/aws/bealine/__init__.py\", line 688, in update_worker_schedule\n",
" response = bealine_client.update_worker_schedule(**request)\n",
" File \"/home/agentuser/.venv/lib/python3.9/site-packages/bealine_worker_agent/boto_mock.py\", line 126, in update_worker_schedule\n",
" File \"/home/agentuser/.venv/lib/python3.9/site-packages/deadline_worker_agent/aws/deadline/__init__.py\", line 688, in update_worker_schedule\n",
" response = deadline_client.update_worker_schedule(**request)\n",
" File \"/home/agentuser/.venv/lib/python3.9/site-packages/deadline_worker_agent/boto_mock.py\", line 126, in update_worker_schedule\n",
" raise _ClientError(\n",
"botocore.exceptions.ClientError: An error occurred (ThrottlingException) when calling the UpdateWorkerSchedule operation: Unknown\n",
"\n",
"During handling of the above exception, another exception occurred:\n",
"\n",
"Traceback (most recent call last):\n",
" File \"/home/agentuser/.venv/lib/python3.9/site-packages/bealine_worker_agent/scheduler/scheduler.py\", line 244, in run\n",
" File \"/home/agentuser/.venv/lib/python3.9/site-packages/deadline_worker_agent/scheduler/scheduler.py\", line 244, in run\n",
" interval = self._sync(interruptable=True)\n",
" File \"/home/agentuser/.venv/lib/python3.9/site-packages/bealine_worker_agent/scheduler/scheduler.py\", line 379, in _sync\n",
" File \"/home/agentuser/.venv/lib/python3.9/site-packages/deadline_worker_agent/scheduler/scheduler.py\", line 379, in _sync\n",
" response = update_worker_schedule(**request)\n",
" File \"/home/agentuser/.venv/lib/python3.9/site-packages/bealine_worker_agent/aws/bealine/__init__.py\", line 692, in update_worker_schedule\n",
" File \"/home/agentuser/.venv/lib/python3.9/site-packages/deadline_worker_agent/aws/deadline/__init__.py\", line 692, in update_worker_schedule\n",
" delay = backoff.delay_amount(RetryContext(retry))\n",
" File \"/home/agentuser/.venv/lib/python3.9/site-packages/botocore/retries/standard.py\", line 275, in delay_amount\n",
" self._random() * (self._base ** (context.attempt_number - 1)),\n",
Expand Down

0 comments on commit 419260b

Please sign in to comment.