diff options
author | Peter Andersson <[email protected]> | 2018-06-13 12:30:37 +0200 |
---|---|---|
committer | Peter Andersson <[email protected]> | 2018-06-13 12:32:16 +0200 |
commit | 46a02602af6265888c426b3ca6eb426600437406 (patch) | |
tree | d099d5013077db68b11b0b40aa7785bfe6671ac2 /lib/kernel/src | |
parent | 950a7175e2d5f2f2c5c50c81ef4a6a0ecbb38530 (diff) | |
download | otp-46a02602af6265888c426b3ca6eb426600437406.tar.gz otp-46a02602af6265888c426b3ca6eb426600437406.tar.bz2 otp-46a02602af6265888c426b3ca6eb426600437406.zip |
[logger] Change overload_kill_restart_after value to infinity
Diffstat (limited to 'lib/kernel/src')
-rw-r--r-- | lib/kernel/src/logger_h_common.erl | 2 | ||||
-rw-r--r-- | lib/kernel/src/logger_h_common.hrl | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/kernel/src/logger_h_common.erl b/lib/kernel/src/logger_h_common.erl index 1458c55e80..f9f762405c 100644 --- a/lib/kernel/src/logger_h_common.erl +++ b/lib/kernel/src/logger_h_common.erl @@ -115,7 +115,7 @@ check_common_config({overload_kill_qlen,N}) when is_integer(N) -> check_common_config({overload_kill_mem_size,N}) when is_integer(N) -> valid; check_common_config({overload_kill_restart_after,NorA}) when is_integer(NorA); - NorA == never -> + NorA == infinity -> valid; check_common_config({filesync_repeat_interval,NorA}) when is_integer(NorA); diff --git a/lib/kernel/src/logger_h_common.hrl b/lib/kernel/src/logger_h_common.hrl index ad80b51109..e0a7b6e3ca 100644 --- a/lib/kernel/src/logger_h_common.hrl +++ b/lib/kernel/src/logger_h_common.hrl @@ -41,10 +41,10 @@ -define(OVERLOAD_KILL_MEM_SIZE, 3000000). %% This is the default time that the handler will wait before -%% restarting and accepting new requests. The value 'never' +%% restarting and accepting new requests. The value 'infinity' %% disables restarts. -define(OVERLOAD_KILL_RESTART_AFTER, 5000). -%%-define(OVERLOAD_KILL_RESTART_AFTER, never). +%%-define(OVERLOAD_KILL_RESTART_AFTER, infinity). %% The handler sends asynchronous write requests to the process %% controlling the i/o device, but every once in this interval |