summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstwf <steven.fuchs@dockyard.com>2019-08-14 14:01:11 -0400
committerstwf <steven.fuchs@dockyard.com>2019-08-14 14:01:11 -0400
commitc43152f6c17a287a9fe4f2556ca20a140ea30248 (patch)
treea7e6679bb6fbaa61f2fa28dba6f6f3c2da6b6cba
parentd81f63845a71e5cc60d95007ecaa2aea52a90422 (diff)
downloadpleroma-c43152f6c17a287a9fe4f2556ca20a140ea30248.tar.gz
pleroma-c43152f6c17a287a9fe4f2556ca20a140ea30248.zip
fix formatting
-rw-r--r--lib/pleroma/application.ex16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/pleroma/application.ex b/lib/pleroma/application.ex
index c460a3bc5..aa673188f 100644
--- a/lib/pleroma/application.ex
+++ b/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: []