mirror of https://github.com/dswd/vpncloud.git
Sending peer list more often to prevent timeouts
This commit is contained in:
parent
dea7c8c128
commit
d7b930982d
|
@ -207,7 +207,7 @@ impl<P: Protocol> GenericCloud<P> {
|
||||||
options: options,
|
options: options,
|
||||||
crypto: crypto,
|
crypto: crypto,
|
||||||
next_peerlist: now(),
|
next_peerlist: now(),
|
||||||
update_freq: peer_timeout/2,
|
update_freq: peer_timeout/2-60,
|
||||||
buffer_out: [0; 64*1024],
|
buffer_out: [0; 64*1024],
|
||||||
next_housekeep: now(),
|
next_housekeep: now(),
|
||||||
_dummy_p: PhantomData,
|
_dummy_p: PhantomData,
|
||||||
|
|
Loading…
Reference in New Issue