Skip to content

Commit 91da114

Browse files
committed
fix: option for concurrency not working
option name seems to be accidentally renamed
1 parent 7b6d1e9 commit 91da114

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WebPush.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ public function flushPooled($callback, ?int $batchSize = null, ?int $requestConc
199199
foreach ($batches as $batch) {
200200
$batch = $this->prepare($batch);
201201
$pool = new Pool($this->client, $batch, [
202-
'requestConcurrency' => $requestConcurrency,
202+
'concurrency' => $requestConcurrency,
203203
'fulfilled' => function (ResponseInterface $response, int $index) use ($callback, $batch) {
204204
/** @var RequestInterface $request **/
205205
$request = $batch[$index];

0 commit comments

Comments
 (0)