(ctx)
| 217 | mocker.patch.object(arq.worker, 'keep_cronjob_progress', 0.1) |
| 218 | |
| 219 | async def try_sleep(ctx): |
| 220 | if ctx['job_try'] == 1: |
| 221 | raise asyncio.CancelledError |
| 222 | |
| 223 | worker: Worker = worker( |
| 224 | cron_jobs=[cron(try_sleep, microsecond=20, run_at_startup=True, max_tries=2)], |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…