mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
increase default dns_cache_max_size to 1Mb
This commit is contained in:
parent
8dd08e9844
commit
b1db898747
@ -210,7 +210,7 @@ ClickHouse also has a reverse cache, so the actual memory usage could be twice a
|
||||
|
||||
Type: UInt64
|
||||
|
||||
Default: 1024
|
||||
Default: 1048576
|
||||
|
||||
|
||||
## dns_cache_update_period
|
||||
|
@ -81,7 +81,7 @@ namespace DB
|
||||
M(UInt64, mmap_cache_size, DEFAULT_MMAP_CACHE_MAX_SIZE, "A cache for mmapped files.", 0) \
|
||||
\
|
||||
M(Bool, disable_internal_dns_cache, false, "Disable internal DNS caching at all.", 0) \
|
||||
M(UInt64, dns_cache_max_size, 1024, "Internal DNS cache max size in bytes.", 0) \
|
||||
M(UInt64, dns_cache_max_size, (1024 * 1024), "Internal DNS cache max size in bytes.", 0) \
|
||||
M(Int32, dns_cache_update_period, 15, "Internal DNS cache update period in seconds.", 0) \
|
||||
M(UInt32, dns_max_consecutive_failures, 10, "Max DNS resolve failures of a hostname before dropping the hostname from ClickHouse DNS cache.", 0) \
|
||||
\
|
||||
|
Loading…
Reference in New Issue
Block a user