From 371f20a1aa0fdd662f6b80ec6d7b25f678e2c6f1 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 31 Jul 2022 07:48:35 +0000 Subject: [PATCH] Decoupling is deactivated by default now --- src/Worker/Cron.php | 4 +++- static/defaults.config.php | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Worker/Cron.php b/src/Worker/Cron.php index 12ea6e60a3..2c724366da 100644 --- a/src/Worker/Cron.php +++ b/src/Worker/Cron.php @@ -93,7 +93,9 @@ class Cron Queue::clear(); // Process all unprocessed entries - Queue::processAll(); + if (DI::config()->get('system', 'decoupled_receiver')) { + Queue::processAll(); + } // Search for new contacts in the directory if (DI::config()->get('system', 'synchronize_directory')) { diff --git a/static/defaults.config.php b/static/defaults.config.php index a8a23ea9e9..01cd24f04b 100644 --- a/static/defaults.config.php +++ b/static/defaults.config.php @@ -166,7 +166,7 @@ return [ // decoupled_receiver (Boolean) // Decouple incoming AP posts by doing the processing in the background. - 'decoupled_receiver' => true, + 'decoupled_receiver' => false, // distributed_cache_driver (database|memcache|memcached|redis) // Whether to use database, Memcache, Memcached or Redis as a distributed cache.