]> git.e2factory.org Git - e2factory.git/commit
Cache: remove metatable and clean up
authorTobias Ulmer <tu@emlix.com>
Thu, 12 Dec 2013 15:52:03 +0000 (16:52 +0100)
committerTobias Ulmer <tu@emlix.com>
Wed, 16 Nov 2016 14:41:17 +0000 (15:41 +0100)
commita82e762886e020c4ab0dab2faa78507a9ab65698
tree1f9fffb40dd80c7c3a641001d12071e31aa58634
parent1c5a424f9120650842aa5fa01a457bf4b9d6a907
Cache: remove metatable and clean up

 * Remove meta table, forcing grep-able code
 * Mark cache table fields private
 * lock cache and cache entry tables
 * Consistently return false on errors
 * Turn ce_by_server() into a dict table lookup

Signed-off-by: Tobias Ulmer <tu@emlix.com>
generic/cache.lua