From 4386e0f8afae05da481e8734e7be8698686a7317 Mon Sep 17 00:00:00 2001 From: fr33domlover Date: Thu, 18 Apr 2019 19:50:31 +0000 Subject: [PATCH] If federation is disabled, don't run periodic delivery --- src/Vervis/Application.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Vervis/Application.hs b/src/Vervis/Application.hs index 7b8c440..fe792d5 100644 --- a/src/Vervis/Application.hs +++ b/src/Vervis/Application.hs @@ -286,7 +286,8 @@ appMain = do forkCheck $ actorKeyPeriodicRotator foundation -- Run periodic activity delivery retry runner - forkCheck $ deliveryRunner foundation + when (appFederation $ appSettings foundation) $ + forkCheck $ deliveryRunner foundation -- Run SSH server forkCheck $ sshServer foundation