mirror of
https://github.com/friendica/friendica
synced 2025-04-24 05:50:11 +00:00
Config for receiver / fix fatals
This commit is contained in:
parent
f0499e7269
commit
b63ad63c29
5 changed files with 14 additions and 6 deletions
|
@ -592,7 +592,7 @@ class Receiver
|
|||
return;
|
||||
}
|
||||
|
||||
if (!empty($object_data['entry-id']) && ($push || ($activity['completion-mode'] == self::COMPLETION_RELAY))) {
|
||||
if (!empty($object_data['entry-id']) && DI::config()->get('system', 'decoupled_receiver') && ($push || ($activity['completion-mode'] == self::COMPLETION_RELAY))) {
|
||||
// We delay by 5 seconds to allow to accumulate all receivers
|
||||
$delayed = date(DateTimeFormat::MYSQL, time() + 5);
|
||||
Logger::debug('Initiate processing', ['id' => $object_data['entry-id'], 'uri' => $object_data['object_id']]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue