renaming LimiterSupervisor

This commit is contained in:
Alexander Strizhakov 2020-06-24 08:39:56 +03:00
parent 6a87f94ee2
commit e267991a44
No known key found for this signature in database
GPG Key ID: 022896A53AEF1381
3 changed files with 3 additions and 3 deletions

View File

@ -67,7 +67,7 @@ defmodule Pleroma.Plugs.RateLimiter do
import Plug.Conn import Plug.Conn
alias Pleroma.Config alias Pleroma.Config
alias Pleroma.Plugs.RateLimiter.LimiterSupervisor alias Pleroma.Web.Plugs.RateLimiter.LimiterSupervisor
alias Pleroma.User alias Pleroma.User
require Logger require Logger

View File

@ -2,7 +2,7 @@
# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/> # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only # SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Plugs.RateLimiter.LimiterSupervisor do defmodule Pleroma.Web.Plugs.RateLimiter.LimiterSupervisor do
use DynamicSupervisor use DynamicSupervisor
import Cachex.Spec import Cachex.Spec

View File

@ -11,7 +11,7 @@ defmodule Pleroma.Web.Plugs.RateLimiter.Supervisor do
def init(_args) do def init(_args) do
children = [ children = [
Pleroma.Plugs.RateLimiter.LimiterSupervisor Pleroma.Web.Plugs.RateLimiter.LimiterSupervisor
] ]
opts = [strategy: :one_for_one, name: Pleroma.Web.Streamer.Supervisor] opts = [strategy: :one_for_one, name: Pleroma.Web.Streamer.Supervisor]