Skip to content

Reset status of running tasks after the server is restarted #241

@melisabok

Description

@melisabok

When the server restarts all the active tasks are killed and the configuration note keeps saying the status is "Running"

I suggest that after the server starts, we should reset the status of the existing notes with status "Running".

You could query all the notes by the status field in the content, for example content.status=Running. @carlosmondra is it possible to enable this query param?

Another option is to iterate through all the active_venues, get the venue_id/-/Assignment_Configuration notes and reset the status for the ones that were running, I would suggest to use another state name like "Cancelled".

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions