aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/adhoc/adhoc.lib.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-06-30 22:01:55 +0200
committerKim Alvefur <zash@zash.se>2023-06-30 22:01:55 +0200
commit915ef3a222a4b2b1472fe73dc88f7ce4e4a9420b (patch)
tree981fba8364e21dc156d4ab2267f07b4a2a2de313 /plugins/adhoc/adhoc.lib.lua
parent29b6ed4f0a40f0f595d21537e1308f744b9a4907 (diff)
downloadprosody-915ef3a222a4b2b1472fe73dc88f7ce4e4a9420b.tar.gz
prosody-915ef3a222a4b2b1472fe73dc88f7ce4e4a9420b.zip
util.cache: Pass cache itself to eviction callback
Simplifies access to the cache without moving code around a lot given the currently common pattern of local some_cache = cache.new(size, function(k,v) end)
Diffstat (limited to 'plugins/adhoc/adhoc.lib.lua')
0 files changed, 0 insertions, 0 deletions