forked from premiere/premiere-libtorrent
min reconnect time fix
This commit is contained in:
parent
3e000a3984
commit
41f241b476
|
@ -485,7 +485,7 @@ namespace libtorrent
|
|||
&& !compare_peer(candidate->second, pe, external_ip)) continue;
|
||||
|
||||
if (now - pe.connected <
|
||||
seconds(pe.failcount * min_reconnect_time))
|
||||
seconds((pe.failcount + 1) * min_reconnect_time))
|
||||
continue;
|
||||
|
||||
candidate = current;
|
||||
|
|
Loading…
Reference in New Issue