diff options
author | Profpatsch <mail@profpatsch.de> | 2024-08-24T12·54+0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2024-09-13T11·13+0000 |
commit | f6dc1f1819cdcfb7010bc5ad7033ede04ecee150 (patch) | |
tree | f61d006f0bc2015e9cc7bf5f6bb0f27e89341089 /tvix | |
parent | 861b7caa0669cf0f3a2b2295640d31c0735fdf67 (diff) |
fix(users/Profpatsch/whatcd-resolver): also delete db torrent file r/8680
If transmission does not know about a torrent file anymore, we should not only delete our local transmission torrent hash, but also the torrent file. Before, it would always display the old weighted torrent, even after removing it from transmission. Now, it will automatically clear and switch to the new top-weighted mp3 version. Small bug: since we only clean the torrents after already fetching the table data, we get a stale result right after clean-up. Maybe we should re-do the fetch instead. Also logs what gets deleted and only ever deletes if there is something to delete, leading to more obvious traces. Change-Id: I0f6c1dc3669d0f549efaba2c46c34b77c1eb7e33 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12332 Reviewed-by: Profpatsch <mail@profpatsch.de> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix')
0 files changed, 0 insertions, 0 deletions