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

Fixed looping timer #497

Closed
wants to merge 3 commits into from
Closed

Fixed looping timer #497

wants to merge 3 commits into from

Conversation

rphmeier
Copy link

Pulling the patch described in https://github.com/ethcore/parity/pull/3592 upstream.

@rphmeier
Copy link
Author

rphmeier commented Dec 6, 2016

Hi, just wondering if the mio team has seen this at all? I really don't like to maintain alternative forks of repos for parity which is why I'm trying to upstream this fix. Any response would be appreciated.

trace!("tick_to; target_tick={}; current_tick={}", target_tick, self.tick);

if target_tick < self.tick {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: indentation is off.

@arthurprs
Copy link
Contributor

arthurprs commented Dec 7, 2016

LGTM but I wonder if this is band aiding it instead of fixing the root cause.

Edit: from a quick glance this should only happen if the clock drifts back, which shouldn't be possible using Instant.

@alexcrichton
Copy link
Contributor

Ah sorry this slipped under the radar! I merged this as ef182ba and did a whitespace fixup last night, so closing.

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.

4 participants