Skip to content

Commit

Permalink
chore: switch to run_v2 for ingest which handles ingesting accounts a…
Browse files Browse the repository at this point in the history
…nd transactions
  • Loading branch information
kespinola committed Aug 9, 2024
1 parent 2cc3411 commit 81f5d71
Show file tree
Hide file tree
Showing 7 changed files with 383 additions and 80 deletions.
4 changes: 2 additions & 2 deletions digital_asset_types/src/dapi/change_logs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ fn build_asset_proof(
tree_id: Vec<u8>,
leaf_node_idx: i64,
leaf_hash: Vec<u8>,
req_indexes: &Vec<i64>,
req_indexes: &[i64],
required_nodes: &[SimpleChangeLog],
) -> AssetProof {
let mut final_node_list = vec![SimpleChangeLog::default(); req_indexes.len()];
Expand All @@ -211,7 +211,7 @@ fn build_asset_proof(
}
for (i, (n, nin)) in final_node_list
.iter_mut()
.zip(req_indexes.clone())
.zip(req_indexes.to_owned())
.enumerate()
{
if *n == SimpleChangeLog::default() {
Expand Down
3 changes: 0 additions & 3 deletions grpc-ingest/config-ingester.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ redis:
xack_batch_max_size: 100
xack_batch_max_idle_ms: 10
xack_max_in_process: 100
- type: metadata_json
stream: METADATA_JSONS
data_key: data
prefetch_queue_size: 1_000 # max number of messages available in the read queue for processing
xpending_max: 250 # used for reading pending messages
xpending_only: false # exit once all pending messages consumed (should be applied if you want downscale number of ingesters)
Expand Down
Loading

0 comments on commit 81f5d71

Please sign in to comment.