ella/ella-comments — pull request #10 by cooncesean (2012-09-25 20:46:58+00:00)
Title: Using Django's ORM to set the `COMCOUNT_KEY` instead of redis.inrc/decr.

Modified `listing_handlers.comment_post_save()` to use Django's ORM to explicitly set the `COMCOUNT_KEY` for an object instead of redis.incr/redis.decr

as we have noticed race conditions in production environments with the old code resulting in negative comment counts.

Unit tests have been added for these changes. The suite (when pulled from origin) had these existing errors/failures: https://gist.github.com/3784325