Need also to remove unused bits

This commit is contained in:
Martin Sumner 2017-03-22 00:14:37 +00:00
parent 15af4942ae
commit 8db73917fb

View file

@ -626,7 +626,6 @@ loadqueue_ledgercache(Cache) ->
%% snapshot is to be used for one specific query only (this is much quicker to
%% setup, assuming the range is a small subset of the overall key space).
snapshot_store(LedgerCache0, Penciller, Inker, SnapType, Query) ->
SW = os:timestamp(),
LedgerCache = readycache_forsnapshot(LedgerCache0, Query),
BookiesMem = {LedgerCache#ledger_cache.loader,
LedgerCache#ledger_cache.index,
@ -670,9 +669,6 @@ maybe_longrunning(SW, Aspect) ->
ok
end.
cache_size(LedgerCache) ->
ets:info(LedgerCache#ledger_cache.mem, size).
bucket_stats(State, Bucket, Tag) ->
{ok, LedgerSnapshot, _JournalSnapshot} = snapshot_store(State,
ledger,