[Bug 23963] Support for presence optimisations
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Dec 21 17:49:40 CET 2010
https://bugs.freedesktop.org/show_bug.cgi?id=23963
--- Comment #8 from Xavier Claessens <xclaesse at gmail.com> 2010-12-21 08:49:40 PST ---
In case power-saving is not supported by server (everything except gtalk
AFAIK), we could queue requests/updates locally into the CM to reduce client
processes wakeup.
Take for example avatar requests:
1) CM emits token update signal.
2) telepathy-glib see that token is not in avatar cache and if the TpContact
has the AVATAR_DATA it does RequestAvatars to the CM. (tp-qt4 does exactly the
same).
3) the CM request avatar to server, which is really BAD in power saving mode!
>From a client-side POV the problem is that features on contacts are not
removable, so Tp::Contact have to know we are in power saving and delay the
avatar request there...
I think the best solution would be to queue all non-essential updates into the
CM so no client is even wakeup. But that's a problem if we want a logger of
such updates that works even if idle. But do we want that really?
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list