aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2018-11-27 16:20:03 +0100
committerSiri Hansen <[email protected]>2018-11-27 16:20:03 +0100
commit01fad41be5fb558b90a1381f8c64c5d49af529b3 (patch)
tree5e1344298730fd45e84169426e52cb905a2abac1 /lib/kernel/src
parentdb9e22116b08fea681672cade04018b0e3d82ed9 (diff)
downloadotp-01fad41be5fb558b90a1381f8c64c5d49af529b3.tar.gz
otp-01fad41be5fb558b90a1381f8c64c5d49af529b3.tar.bz2
otp-01fad41be5fb558b90a1381f8c64c5d49af529b3.zip
[logger] Add read_concurrency to options for logger ets table
Diffstat (limited to 'lib/kernel/src')
-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) ->