Use the less onerous version of statistics.
This commit is contained in:
parent
7380bd3bd7
commit
b69f35364b
2 changed files with 2 additions and 1 deletions
|
@ -377,7 +377,7 @@ max_sessions(Config) ->
|
|||
establish_utility_cursors(Connection, Table) ->
|
||||
case wterl:cursor_open(Connection, Table) of
|
||||
{ok, IsEmptyCursor} ->
|
||||
case wterl:cursor_open(Connection, "table:statistics") of
|
||||
case wterl:cursor_open(Connection, "table:statistics", [{statistics_fast, true}]) of
|
||||
{ok, StatusCursor} ->
|
||||
{ok, IsEmptyCursor, StatusCursor};
|
||||
{error, Reason1} ->
|
||||
|
|
|
@ -461,6 +461,7 @@ config_to_bin([{Key, Value} | Rest], Acc) ->
|
|||
{eviction_target, integer},
|
||||
{eviction_trigger, integer},
|
||||
{extensions, {list, quoted}},
|
||||
{statistics_fast, bool},
|
||||
{force, bool},
|
||||
{from, string},
|
||||
{hazard_max, integer},
|
||||
|
|
Loading…
Reference in a new issue