Open rakovskij-stanislav opened 5 months ago
Current logic of karton-system deletes stuck STARTED tasks after timeout
https://github.com/CERT-Polska/karton/blob/81d0bb9203af87e159ab0572214c0ded1d27ff86/karton/system/system.py#L118
I suggest not to delete these tasks but make them CRASHED. It seems more reasonable 'cuz it's usual need to preserve these tasks instead of deleting them.
Current logic of karton-system deletes stuck STARTED tasks after timeout
https://github.com/CERT-Polska/karton/blob/81d0bb9203af87e159ab0572214c0ded1d27ff86/karton/system/system.py#L118
I suggest not to delete these tasks but make them CRASHED. It seems more reasonable 'cuz it's usual need to preserve these tasks instead of deleting them.