When running against nixpkgs we were stalling. This was due to a long running read tx which was preventing any writes.
This breaks up reading the cache when walking the filesystem into many smaller read txs.
Signed-off-by: Brian McGee <brian@bmcgee.ie>