Tamás Gulácsi
97520583b8
Use 'uint32' instead of 'int64' for blob sizes everywhere.
...
Not just in blob.SizedRef, but in blobserver.Fetch and
blobserver.FetchStreaming, too.
Blobs have a max size of 10-32 MB anyway, and the index.Corpus is now using
uint32 to save memory.
Change-Id: I1172445c2f9463fdaee55bfe0f1218d44be4aa53
2014-02-08 17:58:12 +01:00
Brad Fitzpatrick
48373fc8a7
camput: clean stale stuf in cachedir on start
...
Change-Id: Ie7b8d7da49703e5c430b8195202791445223cf25
2014-01-31 12:42:59 +01:00
mpl
ad84a3565e
camput: check stat cache value form
...
Addresses last comment from
http://camlistore.org/r/606
Change-Id: I5c0eb5492fdcfeb71becdeb25c6c09a1971ac09c
2013-09-09 19:08:07 +02:00
Brad Fitzpatrick
4270ec4ce5
camput: remove unnecessary parens and allocation
...
Change-Id: I78b22458d4bd001313d6d49c6e401bc409b953fd
2013-09-08 18:17:51 -07:00
mpl
8d71c9bb60
camput: have cache and stat cache based on github.com/cznic/kv
...
Added pkg/kvutil/kvutil.Open for convenience
Change-Id: Ie8db58e2c644a7358f252548bc57cccff7627497
2013-08-30 23:54:22 +02:00