Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discard gen_server replies after a timeout in GM #922

Closed
dcorbacho opened this issue Aug 16, 2016 · 0 comments
Closed

Discard gen_server replies after a timeout in GM #922

dcorbacho opened this issue Aug 16, 2016 · 0 comments
Assignees
Milestone

Comments

@dcorbacho
Copy link
Contributor

GM will crash if the call to its neighbour timeouts, but the answer arrives later on through handle_info as a tagged message.

Any unmatched message should be discarded in the handle_info of this gen_server.

** Reason for termination ==
** {function_clause,
       [{gm,handle_info,
            [{#Ref<0.0.4718594.221880>,
              {ok,{gm_group,
                      {resource,
                          <<"anonymous">>,
                          queue,
                          <<"anonymous">>},
                      4,
                      [{0,<7938.17798.5>},{3,<0.18371.9>}]}}},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants