mirror of https://github.com/pixelfed/pixelfed.git
Update AP deliver job
This commit is contained in:
parent
c817d4cfda
commit
4bfe30e5b5
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue