Update AP deliver job

This commit is contained in:
Daniel Supernault 2019-03-07 23:27:22 -07:00
parent c817d4cfda
commit 4bfe30e5b5
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 2 additions and 2 deletions

View File

@ -94,10 +94,10 @@ class StatusActivityPubDeliver implements ShouldQueue
$pool = new Pool($client, $requests, [ $pool = new Pool($client, $requests, [
'concurrency' => config('pixelfed.ap_delivery_concurrency'), 'concurrency' => config('pixelfed.ap_delivery_concurrency'),
'fulfilled' => function ($response, $index) { 'fulfilled' => function ($response, $index) {
Log::info('AP:deliver:success - ' . $response); Log::info('AP:deliver:success - ' . json_encode($response));
}, },
'rejected' => function ($reason, $index) { 'rejected' => function ($reason, $index) {
Log::info('AP:deliver:rejected - ' . $reason); Log::info('AP:deliver:rejected - ' . json_encode($reason));
} }
]); ]);
$promise = $pool->promise(); $promise = $pool->promise();