1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-26 17:56:48 +00:00

Merge pull request #987 from pixelfed/frontend-ui-refactor

Update AP deliver job
This commit is contained in:
daniel 2019-03-07 23:27:56 -07:00 committed by GitHub
commit 73c63f2beb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();