~ubuntuone-control-tower/desktopcouch/trunk

Viewing all changes in revision 279.

  • Committer: Tarmac
  • Author(s): Chad Miller
  • Date: 2011-07-21 17:01:39 UTC
  • mfrom: (277.2.5 cpu-usage-replication)
  • Revision ID: tarmac-20110721170139-06dvopq3kk45cn88
Slow down the idle-run function that checks for whether all the blocking semaphores are completed. gobject may call this every chance it gets, which pegs the CPU.

Catch the signal from the service that indicates no response is ever coming, CredentialsNotFound. Don't wait for timeout.  Also, in cases where there is no response from the ubuntu-sso client, continue with execution. A dbus method call is waiting on us to complete, probably. desktopcouch can operate without ubuntuone support, so we shouldn't deny it from running altogether.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: