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

use SteadyTimer for cleaning up inactive streams #45

Merged
merged 2 commits into from
Jan 8, 2018

Conversation

flixr
Copy link
Contributor

@flixr flixr commented Nov 27, 2017

so that cleanup works correctly even if system time changes

so that cleanup works correctly even if system time changes
@jihoonl
Copy link
Member

jihoonl commented Nov 28, 2017

@flixr It is failing to compile. Can you check? https://travis-ci.org/RobotWebTools/web_video_server/jobs/308041688

@flixr
Copy link
Contributor Author

flixr commented Nov 28, 2017

It needs the new SteadyTimer, so it will fail in kinetic release until it's available there as well (should happen with next sync). The prerelease already builds fine.

@jihoonl
Copy link
Member

jihoonl commented Nov 29, 2017

Thanks for the explanation @flixr. I would like to wait for next sync to be safe. Is this ok?

@flixr
Copy link
Contributor Author

flixr commented Nov 29, 2017

That is fine.

@T045T
Copy link

T045T commented Nov 29, 2017

Probably not terribly important, but this change also means that when on slow sim-time (f.i. with a resource-intensive Gazebo simulation), cleanup might happen too soon.

Are we okay with that? (I think we are)

@jihoonl
Copy link
Member

jihoonl commented Nov 30, 2017

This timer is just for a periodic callback to clean up inactive subscribers. I don't see any problem.

@jihoonl jihoonl self-requested a review January 8, 2018 04:15
@jihoonl jihoonl merged commit ae74f19 into RobotWebTools:develop Jan 8, 2018
jihoonl added a commit that referenced this pull request Jan 8, 2018
jihoonl added a commit that referenced this pull request Jan 8, 2018
jihoonl pushed a commit that referenced this pull request Jan 8, 2018
so that cleanup works correctly even if system time changes
jihoonl added a commit that referenced this pull request Jan 8, 2018
@flixr flixr deleted the steady_timer branch June 26, 2018 16:00
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.

3 participants