Skip to content

Commit 2ff5f6d

Browse files
committed
Bumped version to 4.1.3.
1 parent c3b2374 commit 2ff5f6d

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
4.1.3
2+
3+
- fixed file storage not unlocking index when cleanup has nothing to clean (implemented by Nacoma, thanks!)
4+
15
4.1.2
26

37
- fixed interaction when making HTTP requests in feature tests when collecting tests in Laravel

Clockwork/Clockwork.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class Clockwork implements LoggerInterface
2121
/**
2222
* Clockwork version
2323
*/
24-
const VERSION = '4.1.2';
24+
const VERSION = '4.1.3';
2525

2626
/**
2727
* Array of data sources, these objects provide data to be stored in a request object

Clockwork/Storage/FileStorage.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,7 @@ public function cleanup($force = false)
106106
new Search([ 'received' => [ '<' . date('c', $expirationTime) ] ], [ 'stopOnFirstMismatch' => true ])
107107
);
108108

109-
if (! count($old)) {
110-
$this->closeIndex(true);
111-
return;
112-
};
109+
if (! count($old)) return $this->closeIndex(true);
113110

114111
$this->readPreviousIndex();
115112
$this->trimIndex();

0 commit comments

Comments
 (0)