Skip to content

Commit e54465f

Browse files
committed
Add cache mutex TTL
1 parent a6c9731 commit e54465f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/TaskHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public function it_prevents_overlapping_if_the_command_is_scheduled_without_over
156156
$command = ConsoleApplication::formatCommandString('test:command');
157157
$mutex = 'framework'.DIRECTORY_SEPARATOR.'schedule-'.sha1($expression.$command);
158158

159-
cache()->add($mutex, true);
159+
cache()->add($mutex, true, 60);
160160

161161
$this->taskHandler->handle();
162162

0 commit comments

Comments
 (0)