projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abb62dd
)
Application: Actually start finch if it's needed
author
Lain Soykaf
<lain@lain.com>
Wed, 15 Dec 2021 20:42:37 +0000
(15:42 -0500)
committer
Lain Soykaf
<lain@lain.com>
Wed, 15 Dec 2021 20:42:37 +0000
(15:42 -0500)
lib/pleroma/application.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/application.ex
b/lib/pleroma/application.ex
index 34eaed18193d47be3c61a9310ec66c08ff5741cb..952579c7f87dab951739930a05b9e1eff32ec8e5 100644
(file)
--- a/
lib/pleroma/application.ex
+++ b/
lib/pleroma/application.ex
@@
-61,7
+61,8
@@
defmodule Pleroma.Application do
adapter = Application.get_env(:tesla, :adapter)
- if adapter == Tesla.Adapter.Finch do
+ if match?({Tesla.Adapter.Finch, _}, adapter) do
+ Logger.info("Starting Finch")
Finch.start_link(name: MyFinch)
end