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

Remove heartbeat for synchronous messages to phantom #14

Merged
merged 1 commit into from
Sep 2, 2014

Conversation

aju
Copy link
Contributor

@aju aju commented Sep 2, 2014

This fixes and issue with delays between synchronous calls to phantom using "run" function.
In old version when synchronous function was called heartbeat was sent as well cluttering phantom stdin.
Between "_send" and "_receive" actions node was sending heartbeat messages which had to be processed by the phantom - even though code run on phantom was synchronous.

jhnns added a commit that referenced this pull request Sep 2, 2014
Remove heartbeat for synchronous messages to phantom
@jhnns jhnns merged commit 559a51c into peerigon:master Sep 2, 2014
@jhnns
Copy link
Member

jhnns commented Sep 2, 2014

Excellent! 👍

jhnns added a commit that referenced this pull request Sep 2, 2014
…hronous one

There could be the problem that no heartbeat interval was set when sending an
asynchronous function before the previous synchronous function responded.

#12 #14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants