Comment 2 for bug 571648

Revision history for this message
dobey (dobey) wrote : Re: [Bug 571648] Re: -syncd polls at 10 Hz when not enabled/signed up

On Thu, 2010-04-29 at 17:08 +0000, Guillermo Gonzalez wrote:
> Hi Paul,
>
> This is a know issue with the twisted glib2reactor, which uses the glib
> main loop (Syncdaemon requires glib in order to use DBus)
>
> The fix would be to have a non-glib mainloop for python-dbus or fix
> glib(?) to avoid polling 10 times/second. The main issue with the first
> approach is that python-dbus doesn't not support other mainloops (yet)

Actually, the problem specifically here is the twisted glib mainloop
reactor integration. It plays with the timing internally and sets up a
timeout which causes the 10 times per second wakeups. If it were glib,
practically everything running in Ubuntu would be doing the same thing.

There is already a bug filed about this against ubuntuone-client,
though. And there was an attempt to fix the issue at one point, but it
wasn't working correctly and we had to back the change out.