Execute NIF calls on non-scheduler threads asynchronously #6
1 changed files with 1 additions and 1 deletions
|
@ -377,7 +377,7 @@ max_sessions(Config) ->
|
||||||
establish_utility_cursors(Connection, Table) ->
|
establish_utility_cursors(Connection, Table) ->
|
||||||
case wterl:cursor_open(Connection, Table) of
|
case wterl:cursor_open(Connection, Table) of
|
||||||
{ok, IsEmptyCursor} ->
|
{ok, IsEmptyCursor} ->
|
||||||
case wterl:cursor_open(Connection, "table:statistics", [{statistics_fast, true}]) of
|
case wterl:cursor_open(Connection, "statistics:" ++ Table, [{statistics_fast, true}]) of
|
||||||
{ok, StatusCursor} ->
|
{ok, StatusCursor} ->
|
||||||
{ok, IsEmptyCursor, StatusCursor};
|
{ok, IsEmptyCursor, StatusCursor};
|
||||||
{error, Reason1} ->
|
{error, Reason1} ->
|
||||||
|
|
Loading…
Reference in a new issue