Tweak WHOIS path for federation.

This commit is contained in:
Adam Ierymenko 2017-03-10 19:52:08 -08:00
parent 6194d2af3d
commit e3b1fc2ac0
3 changed files with 9 additions and 4 deletions

View file

@ -202,7 +202,7 @@
/**
* Maximum identity WHOIS retries (each attempt tries consulting a different peer)
*/
#define ZT_MAX_WHOIS_RETRIES 3
#define ZT_MAX_WHOIS_RETRIES 4
/**
* Transmit queue entry timeout
@ -390,6 +390,11 @@
*/
#define ZT_PEER_CREDEITIALS_CUTOFF_LIMIT 15
/**
* WHOIS rate limit (we allow these to be pretty fast)
*/
#define ZT_PEER_WHOIS_RATE_LIMIT 50
/**
* General rate limit for other kinds of rate-limited packets (HELLO, credential request, etc.) both inbound and outbound
*/