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 @@ -316,7 +316,7 @@ what it missed::
316
316
return $this->schedule ??= (new Schedule())
317
317
->with(
318
318
// ...
319
- );
319
+ )
320
320
->stateful($this->cache)
321
321
}
322
322
}
@@ -338,7 +338,7 @@ same task more than once::
338
338
return $this->schedule ??= (new Schedule())
339
339
->with(
340
340
// ...
341
- );
341
+ )
342
342
->lock($this->lockFactory->createLock('my-lock')
343
343
}
344
344
}
@@ -363,7 +363,9 @@ before being further redispatched to its corresponding handler::
363
363
public function getSchedule(): Schedule
364
364
{
365
365
return $this->schedule ??= (new Schedule())
366
- ->with(RecurringMessage::every('5 seconds'), new RedispatchMessage(new Message(), 'async'))
366
+ ->with(
367
+ RecurringMessage::every('5 seconds'),
368
+ new RedispatchMessage(new Message(), 'async')
367
369
);
368
370
}
369
371
}
You can’t perform that action at this time.
0 commit comments