Schedule Workers via Manager #57875

Closed
opened 2018-11-16 17:24:33 +01:00 by Sybren A. Stüvel · 3 comments

Currently the wake/sleep status of Workers is managed by local cron jobs. This is both invisible (as it's a root-editable-only text file somewhere on the system) and hard to work with (workers cannot query "what is my expected status?"). This caused sleeping workers to become active after a restart. Scheduling the wake/sleep status via the Manager would solve this.

  • Manager knows which status a worker should be in, and the worker can periodically check this.
  • The schedule can be centrally edited via the Manager dashboard and thus be visible to everybody involved.
Currently the wake/sleep status of Workers is managed by local cron jobs. This is both invisible (as it's a root-editable-only text file somewhere on the system) and hard to work with (workers cannot query "what is my expected status?"). This caused sleeping workers to become active after a restart. Scheduling the wake/sleep status via the Manager would solve this. - Manager knows which status a worker should be in, and the worker can periodically check this. - The schedule can be centrally edited via the Manager dashboard and thus be visible to everybody involved.
Author
Owner

Added subscriber: @dr.sybren

Added subscriber: @dr.sybren
Author
Owner

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sybren A. Stüvel self-assigned this 2018-12-14 13:01:57 +01:00
Author
Owner

Implemented in 7680c65daf35712d8a9060c9fe0ccc8fd1716e06 and polished in following commits.

Implemented in 7680c65daf35712d8a9060c9fe0ccc8fd1716e06 and polished in following commits.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: studio/flamenco#57875
No description provided.