Need also to remove unused bits
This commit is contained in:
parent
15af4942ae
commit
8db73917fb
1 changed files with 0 additions and 4 deletions
|
@ -626,7 +626,6 @@ loadqueue_ledgercache(Cache) ->
|
||||||
%% snapshot is to be used for one specific query only (this is much quicker to
|
%% 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).
|
%% setup, assuming the range is a small subset of the overall key space).
|
||||||
snapshot_store(LedgerCache0, Penciller, Inker, SnapType, Query) ->
|
snapshot_store(LedgerCache0, Penciller, Inker, SnapType, Query) ->
|
||||||
SW = os:timestamp(),
|
|
||||||
LedgerCache = readycache_forsnapshot(LedgerCache0, Query),
|
LedgerCache = readycache_forsnapshot(LedgerCache0, Query),
|
||||||
BookiesMem = {LedgerCache#ledger_cache.loader,
|
BookiesMem = {LedgerCache#ledger_cache.loader,
|
||||||
LedgerCache#ledger_cache.index,
|
LedgerCache#ledger_cache.index,
|
||||||
|
@ -670,9 +669,6 @@ maybe_longrunning(SW, Aspect) ->
|
||||||
ok
|
ok
|
||||||
end.
|
end.
|
||||||
|
|
||||||
cache_size(LedgerCache) ->
|
|
||||||
ets:info(LedgerCache#ledger_cache.mem, size).
|
|
||||||
|
|
||||||
bucket_stats(State, Bucket, Tag) ->
|
bucket_stats(State, Bucket, Tag) ->
|
||||||
{ok, LedgerSnapshot, _JournalSnapshot} = snapshot_store(State,
|
{ok, LedgerSnapshot, _JournalSnapshot} = snapshot_store(State,
|
||||||
ledger,
|
ledger,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue