ref: 718290ffe0bbf965abf0c4e4941fae78e1d1e23f
parent: c9a4dbe9fea3b6328a27628f89d2fc4ca4d1970a
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Nov 15 23:45:47 EST 2020
packfiles: make cache size tunable. For serving, the cache is mostly useless, since we do a walk of all objects, ideally once; we also tend to hog a bunch of ram and possibly fall over if there are a bunch of concurrent clones. To make serving better, allow tuning the cache size via an environment variable.