diff options
author | Matthew Wild <mwild1@gmail.com> | 2016-03-17 19:08:42 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2016-03-17 19:08:42 +0000 |
commit | 67ede3e0936f1e0dd396e18d56b040684b7b9842 (patch) | |
tree | 1e6d472788da75932563d756ae0135d1e19425f0 /util/throttle.lua | |
parent | 7070585c169306ee8226d23afa73e7f3f1251984 (diff) | |
download | prosody-67ede3e0936f1e0dd396e18d56b040684b7b9842.tar.gz prosody-67ede3e0936f1e0dd396e18d56b040684b7b9842.zip |
util.cache: Change behaviour of on_evict (and tests). Now accepts false instead of a function (never evict), or on_evict can return false to prevent eviction.
Diffstat (limited to 'util/throttle.lua')
0 files changed, 0 insertions, 0 deletions