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

increment timer count in the OverlayImpl::on_timer() #3754

Closed
gregtatcam opened this issue Feb 4, 2021 · 0 comments
Closed

increment timer count in the OverlayImpl::on_timer() #3754

gregtatcam opened this issue Feb 4, 2021 · 0 comments
Assignees
Labels

Comments

@gregtatcam
Copy link
Collaborator

Issue Description

timer_count_ should be incremented in OverlayImpl::on_timer(). Currently time_count_ is initialized to 0 and is not incremented. Consequently deleteIdlePeers() is called every second instead of once in four seconds.

@gregtatcam gregtatcam self-assigned this Feb 4, 2021
@gregtatcam gregtatcam added the Bug label Feb 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant