mirror of
https://github.com/friendica/friendica
synced 2025-04-29 10:24:23 +02:00
Count inbound and outbound packets
This commit is contained in:
parent
ca5f93a4d5
commit
e011b5956a
13 changed files with 63 additions and 0 deletions
|
@ -22,7 +22,9 @@
|
|||
namespace Friendica\Protocol;
|
||||
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Core\Protocol;
|
||||
use Friendica\DI;
|
||||
use Friendica\Model\Item;
|
||||
use Friendica\Network\HTTPClient\Client\HttpClientAccept;
|
||||
use Friendica\Network\HTTPClient\Client\HttpClientRequest;
|
||||
use Friendica\Network\Probe;
|
||||
|
@ -226,6 +228,7 @@ class Salmon
|
|||
$return_code = $postResult->getReturnCode();
|
||||
}
|
||||
|
||||
Item::incrementOutbound(Protocol::OSTATUS);
|
||||
Logger::info('slapper for ' . $url . ' returned ' . $return_code);
|
||||
|
||||
if (!$return_code) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue