YuanSheng Wang
e30a7469bc
test: use longer ttl, avoid the cached item expired. ( #1760 )
2020-06-23 18:21:08 +08:00
YuanSheng Wang
c351b38086
bugfix(lrucache): when creating cached objects, use resty-lock to avoid repeated creation. ( #1486 )
...
* bugfix(lrucache): one common use case for this library is avoid the so-called "dog-pile effect",
that is, to limit concurrent backend queries for the same key when a cache miss happens.
* bugfix: catch the error messag by pcall, it may fail when generate new validator.
2020-04-22 17:47:16 +08:00
YuanSheng Wang
de16a7e04f
bugfix: updated the dns parse result by TTL. ( #1077 )
2020-02-19 20:30:34 +08:00
WenMing
12a2b01b71
license: add ASF header. ( #743 )
2019-10-31 09:27:28 +08:00
Yuansheng
4bb40df857
change(test): name style.
2019-09-10 10:07:29 +08:00
YuanSheng Wang
926c3386e0
feature: add new option release
, will release it automatically ( #381 )
...
* feature: add new option `release`, will release it automatically
when cached item is useless.
2019-08-07 13:42:48 +08:00
Yuansheng
10a0fb03f7
test: moved the different test file to different folder.
2019-06-13 16:16:50 +08:00