diff --git a/lualib/skynet-fly/cache/tti.lua b/lualib/skynet-fly/cache/tti.lua index 0ed85c70e..d7d4db7ca 100644 --- a/lualib/skynet-fly/cache/tti.lua +++ b/lualib/skynet-fly/cache/tti.lua @@ -166,4 +166,9 @@ function M:del_cache(key) return true end +--遍历 +function M:pairs() + return pairs(self.cache_map) +end + return M