Diff

net/server_event.lua @ 7290:70ab13e81cf5

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.
author Matthew Wild <mwild1@gmail.com>
date Thu, 17 Mar 2016 19:08:42 +0000 (2016-03-17)
parent 7224:07a4c807a94a
child 7225:a74f0b7be6bf
child 7336:0d9ac472e58c
line wrap: on
line diff