Bumping reductions manually will not be supported in future releases of the
BEAM and has dubious value anyway. Remove that and ignore queue depth for now.
This commit is contained in:
parent
609676917d
commit
254891e776
1 changed files with 1 additions and 2 deletions
|
@ -25,8 +25,7 @@
|
||||||
begin
|
begin
|
||||||
NIFRef = erlang:make_ref(),
|
NIFRef = erlang:make_ref(),
|
||||||
case erlang:apply(Fun, [NIFRef|Args]) of
|
case erlang:apply(Fun, [NIFRef|Args]) of
|
||||||
{ok, {enqueued, QDepth}} ->
|
{ok, {enqueued, _QDepth}} ->
|
||||||
[erlang:bump_reductions(10 * QDepth) || is_integer(QDepth), QDepth > 100],
|
|
||||||
receive
|
receive
|
||||||
{NIFRef, {error, shutdown}=Error} ->
|
{NIFRef, {error, shutdown}=Error} ->
|
||||||
%% Work unit was queued, but not executed.
|
%% Work unit was queued, but not executed.
|
||||||
|
|
Loading…
Reference in a new issue