<commit_before>dist-lock
=========

dist-lock is a distributed lock manager that uses a single Redis instance.

> A distributed lock manager (DLM) provides distributed software applications with a means to synchronize their accesses to shared resources.

It uses the lock acquisition algorithm described by Redis' author [here](http://redis.io/commands/set) and requires Redis v2.6.12 or above.


Features
----

- Lock acquisition is non-blocking and asynchronous.
- Option to wait indefinitely for a lock, or timeout after a configurable duration.
- To avoid potential deadlocks, locks will automatically release after a configurable duration.

Version
----

1.0.0

Requirements
----

- Redis v2.6.12 or above.<commit_msg>No need for the version in the README<commit_after>dist-lock
=========

dist-lock is a distributed lock manager that uses a single Redis instance.

> A distributed lock manager (DLM) provides distributed software applications with a means to synchronize their accesses to shared resources.

It uses the lock acquisition algorithm described by Redis' author [here](http://redis.io/commands/set) and requires Redis v2.6.12 or above.


Features
----

- Lock acquisition is non-blocking and asynchronous.
- Option to wait indefinitely for a lock, or timeout after a configurable duration.
- To avoid potential deadlocks, locks will automatically release after a configurable duration.

Requirements
----

- Redis v2.6.12 or above.
{'fraction_non_alphanumeric': 0.07867494824016563, 'fraction_numerical': 0.013112491373360938, 'mean_word_length': 4.123674911660777, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3560331', 'n_tokens_mistral': 386, 'n_tokens_neox': 365, 'n_words': 180}