summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* - expire time of None means "never expire".Mike Bayer2012-01-051-2/+17
|
* - merge dogpile tests under test_dogpile, add coverage out for all options, ↵Mike Bayer2011-11-202-148/+278
| | | | | | readwrite, etc. - cleanup internals to merge newer features into _enter()
* - Add new "nameregistry" helper. Another fixtureMike Bayer2011-10-231-0/+58
| | | | | | | | | | | | | | | | derived from Beaker, this allows the ad-hoc creation of a new Dogpile lock based on a name, where all other threads calling that name at the same time will get the same Dogpile lock. Allows any number of logical "dogpile" actions to carry on concurrently without any memory taken up outside of those operations. - To support the use case supported by nameregistry, added value_and_created_fn to dogpile.acquire(). The idea is that the value_and_created_fn can return (value, createdtime), so that the creation time of the value can come from the cache, thus eliminating the need for the dogpile lock to hang around persistently.
* - add a memcached-like integration systemMike Bayer2011-09-101-0/+94
|
* further cleanupMike Bayer2011-08-241-5/+7
|
* some docstrings, setup, etc.Mike Bayer2011-08-241-4/+2
|
* initial revMike Bayer2011-08-242-0/+125