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

Wait longer before trying new bootstrap nodes

It was really just spam, let's wait thrice as long to stay reasonnable. I remember a long time ago some people couldn't connect because we were spamming too much bootstrap nodes
This commit is contained in:
tux3 2015-02-22 19:12:10 +01:00
parent 5ab703eb27
commit 6cef2a9349
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

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