Commit Graph

8 Commits

Author SHA1 Message Date
Thaddee Tyl
cb23cf2d76 Reduce cache size
Hopefully, this will help determine if the cache is the cause of the memory
growth we see.
2015-09-21 14:28:11 +02:00
Thaddee Tyl
70012f5574 Default LRU cache size type is a unit 2014-11-20 23:52:44 +01:00
Thaddee Tyl
30979021dc Log information about LRU / secret 2014-11-04 14:00:43 +01:00
Thaddee Tyl
ef7c63ac95 Avoid potential crash on cache 2014-10-31 23:50:27 +01:00
Thaddee Tyl
dc888f8575 Hard heap size limit for the LRU cache 2014-10-26 18:42:49 +01:00
Thaddee Tyl
99d490e1c3 Send cached badge directly if statistically accurate.
See rationale here:
<https://github.com/badges/shields/issues/161#issuecomment-41812007>.
2014-05-02 17:16:07 +00:00
Thaddee Tyl
f5799b93e6 LRU cache that doesn't compare all timestamps…
… every time we add something to it when the cache is full.
2014-04-29 18:51:22 +00:00
Thaddee Tyl
3da09b93b7 Separated the LRU cache implementation. 2014-04-27 23:47:12 +00:00