Permalink
Switch branches/tags
Nothing to show
Commits on Mar 8, 2016
  1. version bump

    optimuspaul committed Mar 8, 2016
  2. Merge branch 'master' of github.com:SPSCommerce/redlock-py

    optimuspaul committed Mar 8, 2016
    Conflicts:
    	redlock/__init__.py
  3. Merge pull request #15 from XiaonuoGantan/Issue-1

    optimuspaul committed Mar 8, 2016
    Issue-1: Raise `ValueError` and `MultipleRedlockException` when appropriate
  4. Added error print in case of exceptions

    advance512 committed Mar 8, 2016
    Distinguishes str, dict and object inputs in connection_lits
Commits on Mar 6, 2016
  1. Redlock class can now receive StrictRedis objects, or subclasses, in …

    advance512 committed Mar 6, 2016
    …connection_info param of the ctor
Commits on Feb 22, 2016
  1. Update README.md

    XiaonuoGantan committed Feb 22, 2016
  2. Raise `ValueError` when `ttl` is not an integar

    XiaonuoGantan committed Feb 22, 2016
    Should have `Redlock.lock(self, resource, ttl)` and `Redlock.unlock(self, lock)`
    raise exceptions like `redis-py.exceptions.RedisError` and let the caller of
    `Redlock` know exactly why a `Redlock` lock or unlock call failed
Commits on Feb 15, 2016
  1. added links to important articles

    optimuspaul committed Feb 15, 2016
    some analysis and much discussion related to redlock has been done of late.
Commits on Jan 27, 2016
  1. version bump

    optimuspaul committed Jan 27, 2016
  2. Merge pull request #13 from stephanerobert/master

    optimuspaul committed Jan 27, 2016
    python 3 compatible lock value encoding
Commits on Jan 25, 2016
  1. python 3 compatible lock value encoding

    srobert
    srobert committed Jan 25, 2016
Commits on May 11, 2015
  1. bump version

    optimuspaul committed May 11, 2015
  2. Merge pull request #11 from piotrbulinski/master

    optimuspaul committed May 11, 2015
    Python 3 compatibility
  3. Merge pull request #10 from agronholm/master

    optimuspaul committed May 11, 2015
    Fixed Python 3 compatibility, packaging and code style problems
Commits on May 9, 2015
  1. Python 3 compatibility

    piotrbulinski committed May 9, 2015
Commits on May 1, 2015
Commits on Apr 28, 2015
  1. Merge pull request #9 from ffix/patch-1

    optimuspaul committed Apr 28, 2015
    Regression fix
Commits on Apr 27, 2015
  1. Regression fix

    ffix committed Apr 27, 2015
    Fixes ```AttributeError: 'Redlock' object has no attribute 'connection_list'``` introduced by 3bb7e16
  2. Merge pull request #6 from adgaudio/master

    optimuspaul committed Apr 27, 2015
    quorum majority: num servers actually up vs num servers client thinks are up
Commits on Apr 18, 2015
  1. majority of quorum should reflect the number of servers actually up r…

    adgaudio committed Apr 18, 2015
    …ather than the servers the client thinks are up
    
    raises error msg if would never obtain lock
Commits on Apr 9, 2015
  1. Merge pull request #4 from rcoup/cli-tool

    optimuspaul committed Apr 9, 2015
    Add simple command line tool
Commits on Mar 22, 2015
  1. Add simple command line tool.

    rcoup committed Mar 20, 2015
Commits on Feb 28, 2015
  1. up the version

    optimuspaul committed Feb 28, 2015
  2. Merge pull request #3 from hellp/validity-logic-fix

    optimuspaul committed Feb 28, 2015
    Fix logic when calculating `validity`.
  3. Fix logic when calculating `validity`.

    hellp committed Feb 28, 2015
    By substracting twice, we accidentally *added* the drift to the final
    validity value.
    
    - wrong (before): validity = ttl - (elapsed_time - drift)
    - correct (now):  validity = ttl - elapsed_time - drift
Commits on Feb 27, 2015
  1. Merge pull request #2 from hellp/patch-1

    optimuspaul committed Feb 27, 2015
    Small fixes
  2. Small fixes

    hellp committed Feb 27, 2015
    - TTL is supposed to be in milliseconds, so you need to use the PX parameter on SET
    - `validitity` should return the remaining TTL instead of bool
Commits on Jan 8, 2015
  1. fixed this, it wasn't actually adding the source to the distribution.…

    optimuspaul committed Jan 8, 2015
    … moved the code to a package and everything seems better now
Commits on Oct 30, 2014
  1. added setup file

    optimuspaul committed Oct 30, 2014
Commits on Oct 17, 2014
  1. Added MIT license

    optimuspaul committed Oct 17, 2014