Skip to content

Commit fd92367

Browse files
Merge pull request #4324 from felixhuettner/fhcs_write_concurrency
Enable write_concurrency for file handle cache stats (cherry picked from commit c5c730c)
1 parent 3bcb688 commit fd92367

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbit_common/src/file_handle_cache_stats.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
-define(COUNT_TIME_BYTES, [io_read, io_write]).
2222

2323
init() ->
24-
_ = ets:new(?TABLE, [public, named_table]),
24+
_ = ets:new(?TABLE, [public, named_table, {write_concurrency,true}]),
2525
[ets:insert(?TABLE, {{Op, Counter}, 0}) || Op <- ?COUNT_TIME_BYTES,
2626
Counter <- [count, bytes, time]],
2727
[ets:insert(?TABLE, {{Op, Counter}, 0}) || Op <- ?COUNT_TIME,

0 commit comments

Comments
 (0)