Merge pull request #4324 from felixhuettner/fhcs_write_concurrency
Enable write_concurrency for file handle cache stats
This commit is contained in:
commit
c5c730c371
|
|
@ -21,7 +21,7 @@
|
|||
-define(COUNT_TIME_BYTES, [io_read, io_write]).
|
||||
|
||||
init() ->
|
||||
_ = ets:new(?TABLE, [public, named_table]),
|
||||
_ = ets:new(?TABLE, [public, named_table, {write_concurrency,true}]),
|
||||
[ets:insert(?TABLE, {{Op, Counter}, 0}) || Op <- ?COUNT_TIME_BYTES,
|
||||
Counter <- [count, bytes, time]],
|
||||
[ets:insert(?TABLE, {{Op, Counter}, 0}) || Op <- ?COUNT_TIME,
|
||||
|
|
|
|||
Loading…
Reference in New Issue