Skip to content

onFail and onTimeout callbacks may be called together for a NACKed message #30

@ragrus-nbl

Description

@ragrus-nbl

If the lib gets Nack for a message, it calls the onFail callback but doesn't remove the message from the queue, so later the onTimeout callback may be called too. Thus the onFail and onTimeout can be both called for one message.
@ppetrosh Is it a proper behavior?

I guess the lib should remove a message from the queue here.

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