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

Cannot control reconnection settings #240

Open
mhasself opened this issue Nov 16, 2021 · 0 comments
Open

Cannot control reconnection settings #240

mhasself opened this issue Nov 16, 2021 · 0 comments

Comments

@mhasself
Copy link
Member

I am just capturing some stuff I noticed while trying to change the reconnection policy for HostManager agent (so it would try more often). Not an ocs bug really, but the fact that we're using ApplicationRunner seems to mean we can't change those parameters easily.

It looks like you should be allowed to pass reconnection policy parameters (such as max_retry_delay) to ApplicationRunner. But once you do so, you activate code paths that prevent some desirable behaviors (such as being able to start up when crossbar isn't already running). ApplicationRunner is supposed to be just a helper class for quick development, anyway, so I think the solution is to write a substitute that handles reconnection attempts the way we want.

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

No branches or pull requests

1 participant