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 | 6b4c1ca955b953e05b4c4a56177142b19ecb3534 (patch) | |
tree | 1e6d472788da75932563d756ae0135d1e19425f0 /tests/test_util_throttle.lua | |
parent | 5f86077aa2a9603b9928accd2f2d18f82bf40ad0 (diff) | |
download | prosody-6b4c1ca955b953e05b4c4a56177142b19ecb3534.tar.gz prosody-6b4c1ca955b953e05b4c4a56177142b19ecb3534.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 'tests/test_util_throttle.lua')
0 files changed, 0 insertions, 0 deletions