Skip to content

Parallelize IPFS Requests for App Data #2

@nlordell

Description

@nlordell

This iterative async block of code could probably be a batch request.

    for hash in uninitialized_app_data_hashes.iter() {
        download_referral_from_ipfs_and_store_in_referral_store(db.clone(), *hash).await?;
    }

cf referral_maintenance.rs

Original issue gnosis/gp-dune-bridge#59 by @bh2smith

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions