소스 검색

fix formatting

tags/v1.1.4
stwf 4 년 전
부모
커밋
c43152f6c1
1개의 변경된 파일8개의 추가작업 그리고 8개의 파일을 삭제
  1. +8
    -8
      lib/pleroma/application.ex

+ 8
- 8
lib/pleroma/application.ex 파일 보기

@@ -121,17 +121,17 @@ defmodule Pleroma.Application do
end

defp idempotency_expiration,
do: expiration(default: :timer.seconds(6 * 60 * 60), interval: :timer.seconds(60))
do: expiration(default: :timer.seconds(6 * 60 * 60), interval: :timer.seconds(60))

defp seconds_valid_interval,
do: :timer.seconds(Pleroma.Config.get!([Pleroma.Captcha, :seconds_valid]))
do: :timer.seconds(Pleroma.Config.get!([Pleroma.Captcha, :seconds_valid]))

defp build_cachex(type, opts),
do: %{
id: String.to_atom("cachex_" <> type),
start: {Cachex, :start_link, [String.to_atom(type <> "_cache"), opts]},
type: :worker
}
do: %{
id: String.to_atom("cachex_" <> type),
start: {Cachex, :start_link, [String.to_atom(type <> "_cache"), opts]},
type: :worker
}

defp chat_enabled?, do: Pleroma.Config.get([:chat, :enabled])

@@ -145,7 +145,7 @@ defmodule Pleroma.Application do
end

defp oauth_cleanup_child(true),
do: [Pleroma.Web.OAuth.Token.CleanWorker]
do: [Pleroma.Web.OAuth.Token.CleanWorker]

defp oauth_cleanup_child(_), do: []



불러오는 중...
취소
저장