simon987 / sist2

Lightning-fast file system indexer and search tool
GNU General Public License v3.0
843 stars 55 forks source link

[SIST2-Admin] Task History and Log for frozen jobs. #447

Open dpieski opened 8 months ago

dpieski commented 8 months ago

Device Information (please complete the following information):

Describe the bug

If a task locks up and you cannot kill it, I usually end up just restarting the Docker container. But then there is no record of that task in the Task History and the Log files are not available.

Expected behavior

The Task is added to the Task History with a link to the newly created log file as soon as the Task is started (I guess, instead of when it is finished?)

(Is there a different way I should handle a frozen task?)