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
alias Pleroma.Config
alias Pleroma.Plugs.RateLimiter.LimiterSupervisor
alias Pleroma.Web.Plugs.RateLimiter.LimiterSupervisor
alias Pleroma.User
require Logger

View File

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

View File

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