crazy-max / docker-rtorrent-rutorrent

rTorrent and ruTorrent Docker image
MIT License
501 stars 111 forks source link

rTorrent: Schedule torrent session save as background task #358

Closed stickz closed 5 months ago

stickz commented 5 months ago

fixes #281

This commit schedules the session save when a new download is inserted. The benefit if we can thread it as a background task. This avoids disruptions during startup and increases overall speed. The unique hash of the torrent is used as the schedule handle, to prevent accidently overwriting the task. It runs once and immediately.

stickz commented 5 months ago

@crazy-max The pull request test feature is broken. I tested this change, it works as intended.

crazy-max commented 5 months ago

rebased to take #360