web2py/web2py — pull request #96 by rpedroso (2013-05-18 22:38:25+00:00)
Title: lock in redis session

Optional lock in redis sessions

RedisClient accepts one more optional parameter, with_lock, that defaults to False

Also a minor optimization, mainly to minimize network round trips when executing a set of redis commands.