diff --git a/CHANGELOG.md b/CHANGELOG.md index 694f17b..34e535c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,19 +1,25 @@ # Changelog -## v.0.5.0 +## v0.5.1 + +### Bug fixes +- Fixed a bug that caused `OddJob.Async.Proxy` processes to start under the +`OddJob.Scheduler.Supervisor` rather than the `OddJob.Async.ProxySupervisor`. + +## v0.5.0 ### Changes - Changed default pool size to the number of BEAM schedulers (return value of `System.schedulers_online/0`). -## v.0.4.2 +## v0.4.2 ### Improvements - Fix typos and make improvements in documentation. - Fix an incorrect reference to `start_link/2` in the documentation generated with `Use OddJob.Pool`. -## v.0.4.1 +## v0.4.1 ### Improvements - Hibernate `OddJob.Queue` after a 10 second timeout to trigger garbage collection and reduce diff --git a/lib/odd_job/async/proxy_supervisor.ex b/lib/odd_job/async/proxy_supervisor.ex index 8e20e6e..576a06f 100644 --- a/lib/odd_job/async/proxy_supervisor.ex +++ b/lib/odd_job/async/proxy_supervisor.ex @@ -15,7 +15,7 @@ defmodule OddJob.Async.ProxySupervisor do @spec start_child(atom) :: pid def start_child(pool) do pool - |> Utils.scheduler_sup_name() + |> Utils.proxy_sup_name() |> DynamicSupervisor.start_child(@child) |> Utils.extract_pid() end diff --git a/mix.exs b/mix.exs index a5c8479..0f3b985 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule OddJob.MixProject do use Mix.Project - @version "0.5.0" + @version "0.5.1" @source_url "https://github.com/msimonborg/odd_job" def project do