mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 01:05:36 +00:00
Update AP deliver job
This commit is contained in:
parent
c817d4cfda
commit
4bfe30e5b5
1 changed files with 2 additions and 2 deletions
|
@ -94,10 +94,10 @@ class StatusActivityPubDeliver implements ShouldQueue
|
|||
$pool = new Pool($client, $requests, [
|
||||
'concurrency' => config('pixelfed.ap_delivery_concurrency'),
|
||||
'fulfilled' => function ($response, $index) {
|
||||
Log::info('AP:deliver:success - ' . $response);
|
||||
Log::info('AP:deliver:success - ' . json_encode($response));
|
||||
},
|
||||
'rejected' => function ($reason, $index) {
|
||||
Log::info('AP:deliver:rejected - ' . $reason);
|
||||
Log::info('AP:deliver:rejected - ' . json_encode($reason));
|
||||
}
|
||||
]);
|
||||
$promise = $pool->promise();
|
||||
|
|
Loading…
Reference in a new issue