Skip to content

Commit

Permalink
Fix. Result
Browse files Browse the repository at this point in the history
  • Loading branch information
sleipnir committed Nov 13, 2023
1 parent ac51a7b commit 837664d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/actors/actor/caller_producer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ defmodule Actors.Actor.CallerProducer do
if Application.get_env(:spawn, :actors_global_backpressure_enabled, false) do
if request.async do
GenStage.cast(__MODULE__, {:enqueue, {:invoke, request, opts}})
{:ok, :async}
else
GenStage.call(__MODULE__, {:enqueue, {:invoke, request, opts}}, :infinity)
end
Expand Down

0 comments on commit 837664d

Please sign in to comment.