Some optimizations in one of the most expensive bits of the server, namely the command handler.

This commit is contained in:
Griatch 2012-04-25 18:47:03 +02:00
parent 21eed74c8d
commit a8373c685f
4 changed files with 23 additions and 17 deletions

View file

@ -340,7 +340,7 @@ class LockHandler(object):
"""
if self.reset_flag:
# rebuild cache
# on-demand cache rebuild
self._cache_locks(self.obj.lock_storage)
self.reset_flag = False