Task management needs some improvements.
Housekeeping
Currently tasks are not cleaned up. There should be a housekeeping job that deletes tasks by age (configurable, default 30 days).
Also running tasks should be canceled after a timeout, e.g. 1 day.
Aborting tasks
For some tasks - e.g. downloading catlets - cancellation should be supported on the API. It may make sense to require an operation to opt in for cancellation support, but that depends on the implementation.
Task Information
The task should provide additional information:
- User who requested the task
- Start timestamp
- End timestamp
AB#759
Task management needs some improvements.
Housekeeping
Currently tasks are not cleaned up. There should be a housekeeping job that deletes tasks by age (configurable, default 30 days).
Also running tasks should be canceled after a timeout, e.g. 1 day.
Aborting tasks
For some tasks - e.g. downloading catlets - cancellation should be supported on the API. It may make sense to require an operation to opt in for cancellation support, but that depends on the implementation.
Task Information
The task should provide additional information:
AB#759