Skip to content

Commit

Permalink
Make sure Kelvin.InOrderSubscription is loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
svrdlans committed Jun 26, 2024
1 parent d5f65b5 commit b9f78c1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/beeline/topology/stage_supervisor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,11 @@ defmodule Beeline.Topology.StageSupervisor do
# coveralls-ignore-start
defp producer_module(_, true = _test_mode?), do: Beeline.DummyProducer
# coveralls-ignore-stop
defp producer_module(:kelvin, _), do: Kelvin.InOrderSubscription
defp producer_module(:kelvin, _) do
Code.ensure_loaded!(Kelvin.InOrderSubscription)
Kelvin.InOrderSubscription
end

defp producer_module(:volley, _), do: Volley.InOrderSubscription
defp producer_module(:dummy, _), do: Beeline.DummyProducer

Expand Down

0 comments on commit b9f78c1

Please sign in to comment.