Skip to content

Can't configure socket timeout for checkpoint sync #3702

@wmitsuda

Description

@wmitsuda

lighthouse 3.2.1, macos

It seems there is no way to configure timeout for the checkpoint sync call, and from my tests it looks like it is hardcoded to 1 min.

Unfortunately, that makes checkpoint sync pretty unusable for mainnet, I'm trying various public endpoints, and they are much slower than 1 min (https://twitter.com/wmitsuda/status/1589857647217766400).

In fact, I'm trying to download a finalized state using curl right now from one public provider and it's already 9 min and counting!

I suggest a CLI flag to override this timeout, also increasing the default to like 20min should help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions