Speed up bigtable transaction-history command

This commit is contained in:
Michael Vines
2020-09-09 20:21:52 -07:00
committed by mergify[bot]
parent 1db5c9d346
commit 10ce839ec0
3 changed files with 58 additions and 27 deletions

View File

@ -902,8 +902,8 @@ impl JsonRpcRequestProcessor {
),
);
match bigtable_results {
Ok(mut bigtable_results) => {
results.append(&mut bigtable_results);
Ok(bigtable_results) => {
results.extend(bigtable_results.into_iter().map(|x| x.0));
}
Err(err) => {
warn!("{:?}", err);