mirror of
https://github.com/friendica/friendica
synced 2025-04-26 21:10:16 +00:00
Delivery count now counts the failed delivery attempts as well
This commit is contained in:
parent
4c4ed63dca
commit
5a1a5a54dc
8 changed files with 49 additions and 11 deletions
|
@ -54,8 +54,8 @@ class APDelivery extends BaseObject
|
|||
}
|
||||
}
|
||||
|
||||
if (!$success) {
|
||||
Worker::defer();
|
||||
if (!$success && !Worker::defer() && in_array($cmd, [Delivery::POST])) {
|
||||
ItemDeliveryData::incrementQueueFailed($target_id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue