Skip to content

Missing reject after maxAttempts #231

@BarrMan

Description

@BarrMan

What Is the issue?

Missing reject after maxAttempts. Handshake keeps hanging when max attempts reached.

Provide issue context below using code examples, images, or links

When calling Postmate with Slow 3G/Fast 3G internet connection, the connection might not be established on time. The maximum time Postmate allows is 500ms * 5attempts which is 2.5 seconds. For slower connections it might not suffice. Rejecting the promise allows the user to use some sort of handling logic.

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