]> git.lizzy.rs Git - go-anidb.git/commit
anidb: Add logging to titlecache, be more careful with caching
authorDiogo Franco (Kovensky) <diogomfranco@gmail.com>
Tue, 16 Jul 2013 16:20:22 +0000 (13:20 -0300)
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>
Tue, 16 Jul 2013 16:20:22 +0000 (13:20 -0300)
commit2b02cabee8763ddbd17dfc4f402e5f52dc0efe00
treed10a647ba04f33764c75d52a5b07196dd937133c
parente4cd706715c5d00eafc37f89dbd1be5d8c51d70b
anidb: Add logging to titlecache, be more careful with caching

Only cache the new anime-titles.dat.gz (thus truncating an older one) if
we can download it entirely to memory (it's little less than 600KB).
titlecache.go