Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c7f07b3

Browse filesBrowse files
committed
Fix PDO prune not called
1 parent 953ac3e commit c7f07b3
Copy full SHA for c7f07b3

File tree

1 file changed

+0
-5
lines changed
Filter options

1 file changed

+0
-5
lines changed

‎src/Symfony/Component/Lock/Store/PdoStore.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Lock/Store/PdoStore.php
-5Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,6 @@ public function save(Key $key)
123123

124124
try {
125125
$stmt->execute();
126-
if ($key->isExpired()) {
127-
throw new LockExpiredException(sprintf('Failed to put off the expiration of the "%s" lock within the specified time.', $key));
128-
}
129-
130-
return;
131126
} catch (DBALException $e) {
132127
// the lock is already acquired. It could be us. Let's try to put off.
133128
$this->putOffExpiration($key, $this->initialTtl);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.