mirror of
https://github.com/asamy/ctorrent
synced 2025-10-05 23:52:41 +02:00
main: update trackers when seeding
This commit is contained in:
5
main.cpp
5
main.cpp
@@ -232,7 +232,10 @@ int main(int argc, char *argv[])
|
||||
++eseed;
|
||||
}
|
||||
|
||||
while (eseed != total) {
|
||||
while (eseed != total) {
|
||||
for (int i = 0; i < total; ++i)
|
||||
torrents[i].checkTrackers();
|
||||
|
||||
Connection::poll();
|
||||
print_all_stats(torrents, total);
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(5));
|
||||
|
Reference in New Issue
Block a user