Skip to content

Pubsub websocket conn hangs for a while even internet cut off #97

@wanliqun

Description

@wanliqun

cfx := sdk.NewClient(...)
clientSub, err := cfx.SubscribeNewHeads(...)
for {
select clientSub->Error(): // channel not notified even the internet is cut off for a while
....
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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