Sending peer list more often to prevent timeouts

This commit is contained in:
Dennis Schwerdel 2016-06-26 19:21:04 +02:00
parent dea7c8c128
commit d7b930982d
1 changed files with 1 additions and 1 deletions

View File

@ -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,