Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Symfony/Component/Lock/Store/ZookeeperStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function waitAndSave(Key $key)
*/
public function putOffExpiration(Key $key, $ttl)
{
throw new NotSupportedException();
// do nothing, zookeeper locks forever.
}

/**
Expand Down
1 change: 0 additions & 1 deletion src/Symfony/Component/Lock/StoreInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ public function waitAndSave(Key $key);
* @param float $ttl amount of seconds to keep the lock in the store
*
* @throws LockConflictedException
* @throws NotSupportedException
*/
public function putOffExpiration(Key $key, $ttl);

Expand Down