aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2018-11-29 10:37:27 +0100
committerSiri Hansen <[email protected]>2018-11-29 10:37:27 +0100
commit892409dd4a517f2a6d75db13384c468519df899f (patch)
tree8b32a5113eed03b87eb0fe5b3832b6efc5a3bb74
parent0d4ea0da87dd7673b08db8251ef884e1c85b26d1 (diff)
parent01fad41be5fb558b90a1381f8c64c5d49af529b3 (diff)
downloadotp-892409dd4a517f2a6d75db13384c468519df899f.tar.gz
otp-892409dd4a517f2a6d75db13384c468519df899f.tar.bz2
otp-892409dd4a517f2a6d75db13384c468519df899f.zip
Merge branch 'siri/logger/ets-read-concurrency/ERL-782/OTP-15453' into maint
* siri/logger/ets-read-concurrency/ERL-782/OTP-15453: [logger] Add read_concurrency to options for logger ets table
-rw-r--r--lib/kernel/src/logger_config.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/kernel/src/logger_config.erl b/lib/kernel/src/logger_config.erl
index 6bfe658552..5e9faf332c 100644
--- a/lib/kernel/src/logger_config.erl
+++ b/lib/kernel/src/logger_config.erl
@@ -31,7 +31,9 @@
-include("logger_internal.hrl").
new(Name) ->
- _ = ets:new(Name,[set,protected,named_table,{write_concurrency,true}]),
+ _ = ets:new(Name,[set,protected,named_table,
+ {read_concurrency,true},
+ {write_concurrency,true}]),
ets:whereis(Name).
delete(Tid,Id) ->