1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Bootstrap from more nodes until we're connected

This commit is contained in:
tux3 2015-02-21 22:44:22 +01:00
parent 1939231440
commit 3e661e9b03
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -341,6 +341,7 @@ void Core::process()
else if (!(--tolerance)) else if (!(--tolerance))
{ {
bootstrapDht(); bootstrapDht();
tolerance = CORE_DISCONNECT_TOLERANCE;
} }
toxTimer->start(qMin(tox_do_interval(tox), toxav_do_interval(toxav))); toxTimer->start(qMin(tox_do_interval(tox), toxav_do_interval(toxav)));