Scale the DNS random scket pool on the value of dns-forward-max.

This commit is contained in:
Simon Kelley
2021-03-26 22:02:04 +00:00
parent 4a8c098840
commit ea28d0ef8a
5 changed files with 21 additions and 10 deletions

View File

@@ -29,7 +29,6 @@
#define UDP_TEST_TIME 60 /* How often to reset our idea of max packet size. */
#define SERVERS_LOGGED 30 /* Only log this many servers when logging state */
#define LOCALS_LOGGED 8 /* Only log this many local addresses when logging state */
#define RANDOM_SOCKS 64 /* max simultaneous random ports */
#define LEASE_RETRY 60 /* on error, retry writing leasefile after LEASE_RETRY seconds */
#define CACHESIZ 150 /* default cache size */
#define TTL_FLOOR_LIMIT 3600 /* don't allow --min-cache-ttl to raise TTL above this under any circumstances */