Skip to content

Commit e3f0faa

Browse files
committed
remove check
1 parent a34ae39 commit e3f0faa

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Internal/Decorator/StorageServiceLockDecorator.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,7 @@ public function missing(string $uuid): bool
3333

3434
public function get(string $uuid): string
3535
{
36-
if ($this->lockService->isBlocked($uuid)) {
37-
return $this->stateService->get($uuid) ?? $this->storageService->get($uuid);
38-
}
39-
40-
return $this->storageService->get($uuid);
36+
return $this->stateService->get($uuid) ?? $this->storageService->get($uuid);
4137
}
4238

4339
public function sync(string $uuid, float|int|string $value): bool

0 commit comments

Comments
 (0)