Summary: | Add (optional) support for Nokia's heartbeat service | ||
---|---|---|---|
Product: | Wocky | Reporter: | Will Thompson <will> |
Component: | General | Assignee: | Telepathy bugs list <telepathy-bugs> |
Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | Keywords: | patch |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
URL: | http://git.collabora.co.uk/?p=user/wjt/wocky.git;a=shortlog;h=refs/heads/iphb | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Will Thompson
2010-10-21 11:31:42 UTC
(In reply to comment #0) > Functionally, this does change the ping behaviour of Wocky somewhat. See > http://git.collabora.co.uk/?p=user/wjt/wocky.git;a=commitdiff;h=beeb0676e3708c91dca867c1620ae72b204c1dba > for details of the change. I don't think it's too big a deal. (This commit contains a comment explaining how this changes Wocky's ping behaviour; it isn't the whole branch.) Nothing major: 1 trivium and one question: Trivium: where DEBUG output is to tell us there's been a wakeup or a ping has gone out or the ping timeout has changed, it might be worth logging the (high-ish res)time at which said event occurred Question: self->next_wakeup.tv_sec += (max_interval - self->max_interval); can go -ve, I _think_ this means we just wake up straightaway, I assume that's Ok? (In reply to comment #2) > Nothing major: 1 trivium and one question: > > Trivium: > > where DEBUG output is to tell us there's been a wakeup or a ping > has gone out or the ping timeout has changed, it might be worth > logging the (high-ish res)time at which said event occurred Added. > Question: > > self->next_wakeup.tv_sec += (max_interval - self->max_interval); > can go -ve, I _think_ this means we just wake up straightaway, > I assume that's Ok? Yeah, that was the intention. I've added a clarifying comment. Oh I also made the test slightly faster by reducing the number of pings it waits for. Merged! Hooray. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.