Skip to content

Commit 84539e1

Browse files
committed
Merge pull request #11 from texthtml/doc/redis-lock
mention php-lock-redis in README
2 parents 6c77c3d + ea91885 commit 84539e1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -126,4 +126,6 @@ And one on a `FileFactory`:
126126

127127
## Notes
128128

129-
Only lock file are currently supported. It means distributed processes can't be lock this way. It should be easy to implements the `TH\Lock\Lock` interface to use a distributed lock mechanism (maybe with [Redis](http://redis.io/topics/distlock)).
129+
### Distributed system
130+
131+
On a distributed system, file based locking does not work, You can use the [php-lock redis extension](https://github.com/texthtml/php-lock-redis) to have a safe lock instead.

0 commit comments

Comments
 (0)