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

xmlrpc_manager: use SteadyTime for timeout #1134

Merged
merged 1 commit into from
Aug 14, 2017

Conversation

flixr
Copy link
Contributor

@flixr flixr commented Aug 12, 2017

Use the SteadyTime instead of WallTime when checking if a cached client is dead.

@dirk-thomas
Copy link
Member

How will this affect the behavior when e.g. using sim time? I could imagine that existing connections would be ended when simulation is paused.

@flixr
Copy link
Contributor Author

flixr commented Aug 14, 2017

How will this affect the behavior when e.g. using sim time?

Not at all as long as the system time doesn't change.

I could imagine that existing connections would be ended when simulation is paused.

I'm not exactly sure when a new xmlrpc client is needed, but since it was using WallTime before, it would have had the same effect.

So the only difference is that you don't get a timeout if you set the system time forward.

@dirk-thomas
Copy link
Member

Nvm. Since it was using wall time before I wasn't affected by sim time anyway.

Thanks.

@dirk-thomas dirk-thomas merged commit 940945c into ros:lunar-devel Aug 14, 2017
@flixr flixr deleted the xmlrpc_steady_timeout branch November 24, 2017 17:55
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.

2 participants