picotorrent / picotorrent

A tiny, hackable BitTorrent client.
https://picotorrent.org
MIT License
2.59k stars 181 forks source link

Picotorrent crash on startup (too many torrents?) #1279

Open fcircuit opened 7 months ago

fcircuit commented 7 months ago

I probably know why this issue is occurring, but how to resolve? I recently added about 100 new torrents of the same type, expecting them to download sequentially over a few days away. However Pico crashed, and now crashes repeatedly at every attempt to restart the app. The system has over 3000 completed/paused torrents in its DB, these would take it to ~3100.

How can I clear torrents from the db and prevent them all being checked on startup, without wiping and reloading the installation from scratch? (And better, why isn't there an option to simply STOP or archive torrents permanently?)

fcircuit commented 7 months ago

crickets

vktr commented 7 months ago

If you're familiar with SQLite and don't want to keep the torrents (but everything else) you can empty the torrents table.

As for a feature not existing, it's because no one asked for it and/or no one built it. Features do not exist by default