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.