-
Notifications
You must be signed in to change notification settings - Fork 63
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
Keeplive natively inferred in the C++ runtime #1630
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
Why not do this for all targets? |
We should probably do it for all targets. But this of course requires support by the other runtimes and code generators. Also, I think there are still some open semantic questions. For instance, the behavior of timeout in the C target is influenced by the value of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The TS test failure looks like just a network issue. Let's ignore it.
This PR pulls in lf-lang/reactor-cpp#42 which allows the C++ runtime to automatically infer if keepalive is needed. Consequently, the
keepalive
target property in LF is disabled for the C++ target. If it is used anyway, a warning will be printed stating that the property is ignored.