File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -328,7 +328,7 @@ what it missed::
328
328
return $this->schedule ??= (new Schedule())
329
329
->with(
330
330
// ...
331
- );
331
+ )
332
332
->stateful($this->cache)
333
333
}
334
334
}
@@ -350,7 +350,7 @@ same task more than once::
350
350
return $this->schedule ??= (new Schedule())
351
351
->with(
352
352
// ...
353
- );
353
+ )
354
354
->lock($this->lockFactory->createLock('my-lock')
355
355
}
356
356
}
@@ -375,7 +375,9 @@ before being further redispatched to its corresponding handler::
375
375
public function getSchedule(): Schedule
376
376
{
377
377
return $this->schedule ??= (new Schedule())
378
- ->with(RecurringMessage::every('5 seconds'), new RedispatchMessage(new Message(), 'async'))
378
+ ->with(
379
+ RecurringMessage::every('5 seconds'),
380
+ new RedispatchMessage(new Message(), 'async')
379
381
);
380
382
}
381
383
}
You can’t perform that action at this time.
0 commit comments