Skip to content

Commit

Permalink
tti suport pairs
Browse files Browse the repository at this point in the history
  • Loading branch information
huahua132 committed Dec 3, 2024
1 parent 8da9e63 commit e96edbd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lualib/skynet-fly/cache/tti.lua
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,9 @@ function M:del_cache(key)
return true
end

--遍历
function M:pairs()
return pairs(self.cache_map)
end

return M

0 comments on commit e96edbd

Please sign in to comment.