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 @@ -321,7 +321,7 @@ what it missed::
321
321
return $this->schedule ??= (new Schedule())
322
322
->with(
323
323
// ...
324
- );
324
+ )
325
325
->stateful($this->cache)
326
326
}
327
327
}
@@ -343,7 +343,7 @@ same task more than once::
343
343
return $this->schedule ??= (new Schedule())
344
344
->with(
345
345
// ...
346
- );
346
+ )
347
347
->lock($this->lockFactory->createLock('my-lock')
348
348
}
349
349
}
@@ -368,7 +368,9 @@ before being further redispatched to its corresponding handler::
368
368
public function getSchedule(): Schedule
369
369
{
370
370
return $this->schedule ??= (new Schedule())
371
- ->with(RecurringMessage::every('5 seconds'), new RedispatchMessage(new Message(), 'async'))
371
+ ->with(
372
+ RecurringMessage::every('5 seconds'),
373
+ new RedispatchMessage(new Message(), 'async')
372
374
);
373
375
}
374
376
}
You can’t perform that action at this time.
0 commit comments