1
0
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:
A. Samy
2016-01-07 08:32:49 +00:00
parent e247f629e6
commit 6a60c408ef

View File

@@ -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));