handle SIGINT / SIGTERM to store long-running tasks #28
Open
Description
to verify: I think some tasks might be non-recoverable if interrupted. For example, fetching a track on Spotify is supposed to then fetch the album and artist and won't ever do so if interrupted after the track.
If there are cases like this, we should listen for sigint or other termination signals and store some recoverable state in database before exiting.
Metadata
Assignees
Labels
No labels