Open Tercus opened 8 years ago
On startup just readout the list of torrents in the database and give that array to the client.seed function. That should work and be fast enough for testing. Everytime the server finishes downloading a torrent, also add that with client.seed.
Downloaded torrents are automatically seeded. I only have to check on startup and seed all in the database.
Got seeding to work, but it creates a memory leak, rendering the PC useless within seconds https://github.com/Tercus/crowder/commit/596ac2530acb20f11d445f45b70ce6b69d064259
The server should be able to seed files it has downloaded from users. This should happen automatically and periodically.