Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flex extend #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Flex extend #16

wants to merge 2 commits into from

Conversation

keesbos
Copy link

@keesbos keesbos commented Dec 30, 2016

The current implementation requires the process that holds the lock to be running. The changes in this PR make it possible to use the locks over multiple invocations of a script. This is useful in situations where locks live days and client can crash and be restarted or run from a crontab.

Redone on a rebase of master

Kees Bos added 2 commits December 30, 2016 19:31
Enable lock handling for multi process usage. This is/can be
important for long living locks.

- Lock keys can be stores and reused by another process
  (e.g. cron)
- Locks can be verified. This can be useful in case of client
  (system) crashes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant