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
|
||||
NIFRef = erlang:make_ref(),
|
||||
case erlang:apply(Fun, [NIFRef|Args]) of
|
||||
{ok, {enqueued, QDepth}} ->
|
||||
[erlang:bump_reductions(10 * QDepth) || is_integer(QDepth), QDepth > 100],
|
||||
{ok, {enqueued, _QDepth}} ->
|
||||
receive
|
||||
{NIFRef, {error, shutdown}=Error} ->
|
||||
%% Work unit was queued, but not executed.
|
||||
|
|
Loading…
Reference in a new issue