Pleroma.Web.Plugs.RateLimiter.Supervisor: dialyzer error
lib/pleroma/web/plugs/rate_limiter/supervisor.ex:12:no_return Function init/1 has no local return.
This commit is contained in:
parent
92992c022d
commit
97c4d3bcc9
|
@ -14,7 +14,7 @@ def init(_args) do
|
||||||
Pleroma.Web.Plugs.RateLimiter.LimiterSupervisor
|
Pleroma.Web.Plugs.RateLimiter.LimiterSupervisor
|
||||||
]
|
]
|
||||||
|
|
||||||
opts = [strategy: :one_for_one, name: Pleroma.Web.Streamer.Supervisor]
|
opts = [strategy: :one_for_one]
|
||||||
Supervisor.init(children, opts)
|
Supervisor.init(children, opts)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue