projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FedSockets: fix log spam on cached rejects
[akkoma]
/
lib
/
pleroma
/
application.ex
diff --git
a/lib/pleroma/application.ex
b/lib/pleroma/application.ex
index c39e24919c4c76e4ce0c682f99767e71106ba234..00ec79a2a68a6bda886e9e1f4b18084a73078174 100644
(file)
--- a/
lib/pleroma/application.ex
+++ b/
lib/pleroma/application.ex
@@
-99,7
+99,7
@@
defmodule Pleroma.Application do
{Oban, Config.get(Oban)}
] ++
task_children(@env) ++
{Oban, Config.get(Oban)}
] ++
task_children(@env) ++
-
streamer_child
(@env) ++
+
dont_run_in_test
(@env) ++
chat_child(@env, chat_enabled?()) ++
[
Pleroma.Web.Endpoint,
chat_child(@env, chat_enabled?()) ++
[
Pleroma.Web.Endpoint,
@@
-188,16
+188,17
@@
defmodule Pleroma.Application do
defp chat_enabled?, do: Config.get([:chat, :enabled])
defp chat_enabled?, do: Config.get([:chat, :enabled])
- defp
streamer_child
(env) when env in [:test, :benchmark], do: []
+ defp
dont_run_in_test
(env) when env in [:test, :benchmark], do: []
- defp
streamer_child
(_) do
+ defp
dont_run_in_test
(_) do
[
{Registry,
[
name: Pleroma.Web.Streamer.registry(),
keys: :duplicate,
partitions: System.schedulers_online()
[
{Registry,
[
name: Pleroma.Web.Streamer.registry(),
keys: :duplicate,
partitions: System.schedulers_online()
- ]}
+ ]},
+ Pleroma.Web.FedSockets.Supervisor
]
end
]
end