Check for number of workers before soft failing the task. #104195

Merged
Sybren A. Stüvel merged 15 commits from Nitin-Rawat-1/flamenco:104190-job-stuck into main 2023-04-20 11:53:43 +02:00
Showing only changes of commit 94848c7e05 - Show all commits

View File

@ -42,7 +42,7 @@ def _get_enum_items(self, context):
prefs = preferences.get(context)
_enum_items = [
("-", "No Cluster", "No cluster assigned, any worker can handle this job"),
("-", "All", "No specific cluster assigned, any worker can handle this job"),
]
_enum_items.extend(
(cluster.id, cluster.name, cluster.description)