Skip to content

PCCS crate - consider adding a timeout to Pccs::ready method #24

@ameba23

Description

@ameba23

The PCCS exposes a method to wait for 'readiness', meaning the cache is populated with collateral from all known FSMPCs.

If there is an issue with the 'pre-warm' fetching (eg: the task panics for some reason) this future will wait indefinately.

Consider adding a timeout to return an error if the cache is not filled after some reasonable duration.

See discussion: #3 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions