Permalink
Switch branches/tags
Nothing to show
Commits on Oct 19, 2012
  1. Updating the readme to specify hiredis be install before using Hiredi…

    …sParser as the parser class.
    sebleier committed Oct 19, 2012
Commits on Jul 6, 2012
  1. Implement cache.add with SETNX so cache.add can be atomic like it's e…

    …xpected
    
    The way it is now, doing a cache.add has a slight race condition
    between checking if the key exists already before setting.
    
    This rewrite uses the native SETNX command to only set the key if one
    doesn't exist yet.
    mattrobenolt committed with sebleier Mar 28, 2012
Commits on May 16, 2012
  1. Adding test to prove multiple connections are being formed when acces…

    …sing multiple backends. Thanks to @twidi for the report and jezdez for the kick in the pants.
    sebleier committed May 16, 2012
Commits on May 1, 2012
Commits on Apr 30, 2012
Commits on Jan 10, 2012
  1. allow to have multiple connections

    mucca committed Jan 10, 2012
Commits on Sep 5, 2011
Commits on Aug 24, 2011
  1. Modified the timeout value semantics to better match the memcache cac…

    …he backend, i.e. negative timeouts are instant expiration, 0 timeout is no expiration, and greater than 0 is time to live.
    sebleier committed Aug 24, 2011
Commits on Aug 18, 2011
  1. Bumped to version 0.9.0 -- Added ability to specifiy the parser class…

    … and the ability to use Unix domain sockets
    sebleier committed Aug 18, 2011
  2. Fixed a couple typos.

    sebleier committed Aug 18, 2011
Commits on Aug 17, 2011
  1. Added support for unix domain sockets and custom parsers.

    Added the ability to use tcp sockets or unix domain sockets. Also added the
    ability to specify a parser to use when processing responses from the redis
    server.  To do this I had to bring back the custom connection pool, since
    you need to instantiate a custom connection pool to be able to specify a
    parser class.
    sebleier committed Aug 17, 2011
Commits on Aug 9, 2011
  1. merge

    aleszoulek committed Aug 9, 2011
  2. [typo/bug] use client param

    aleszoulek committed Aug 9, 2011
Commits on Jul 27, 2011
  1. Nudged to version 0.8.2. Addresses handling of integers when using th…

    …e 'get_many' method. Fixes issue #20 on github.
    sebleier committed Jul 27, 2011
Commits on Jul 22, 2011
  1. Nudged to version 0.8.1, added ability to pickle the cache class. Add…

    …ed James Aylett to authors file.
    sebleier committed Jul 22, 2011
  2. Merge pull request #19 from jaylett/picklable-cache-object

    Make cache object picklable.
    sebleier committed Jul 22, 2011
  3. Make cache object picklable.

    jaylett committed Jul 22, 2011
  4. Changed the attribute _cache to be _client on the cache class to be m…

    …ore semantically correct.
    sebleier committed Jul 22, 2011
  5. Added ability to use redis' incr to increment and decrement values.

    To do this, we need to keep integers untouched while pickling any other type
    of value. Existing tests should prove that the native incr is working, but
    I added a test to show that if an integer was pickled and native incr is used,
    then the cache backend will convert the pickled integer correctly.
    sebleier committed Jun 15, 2011
Commits on Jul 13, 2011
Commits on Jul 8, 2011
  1. Removed custom connection pool

    The are two reasons:
    * django already implements CacheClass instance as singleton, we don't
    need to reimplement that
    * connection pool in redis.py is already tested, we shouldn't have to
    test it again
    * default keywargs charset='utf-8' and errors='strict' are defaults in
    redis.py, se we don't need to copy it over
    aleszoulek committed Jul 8, 2011
  2. Use ImproperlyConfigured exception from Django

    Users should handle django.core.exceptions.ImproperlyConfigured better
    then a custom exception with the same name
    aleszoulek committed Jul 8, 2011