Skip to content
This repository was archived by the owner on Jan 13, 2023. It is now read-only.
This repository was archived by the owner on Jan 13, 2023. It is now read-only.

Max Polling Attempts setting for SandboxAdapter #23

@todofixthis

Description

@todofixthis

Imagine a scenario where a sandbox node gets stuck or severely overloaded, and a job remains in QUEUED or RUNNING for a really long time.

As it is implemented currently, SandboxAdapter will happily poll every 15 seconds, until the end of the universe, if necessary.

Add a polling timeout argument to SandboxAdapter.__init__ that will cause it to raise an exception if a job hasn't completed after x number of polling requests.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions