If federation is disabled, don't run periodic delivery

This commit is contained in:
fr33domlover 2019-04-18 19:50:31 +00:00
parent 50f12f855d
commit 4386e0f8af

View file

@ -286,7 +286,8 @@ appMain = do
forkCheck $ actorKeyPeriodicRotator foundation forkCheck $ actorKeyPeriodicRotator foundation
-- Run periodic activity delivery retry runner -- Run periodic activity delivery retry runner
forkCheck $ deliveryRunner foundation when (appFederation $ appSettings foundation) $
forkCheck $ deliveryRunner foundation
-- Run SSH server -- Run SSH server
forkCheck $ sshServer foundation forkCheck $ sshServer foundation