[Telepathy] [Bug 12465] Current avatars API is likely to generate too much DBus traffic

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Sep 21 07:44:55 PDT 2007


http://bugs.freedesktop.org/show_bug.cgi?id=12465





------- Comment #4 from luiz.dentz at gmail.com  2007-09-21 07:45 PST -------
> Isn't it possible to return an empty array, or 0-length avatars?
Not sure what you are aiming with this, but you may realize that there is no
timeout on DBusMessage, and even if there is a way to know how much time the
client will wait for the reply returning a NULL avatar will not solve the
problem, anyway an error perhaps is more suitable for it thought you have to
rely on CM cache if there is any and that way you probably duplicate the cache
on application side too. I don't find this anyway better than what we already
have or do you find better to call a method repetitively until you got the
proper answer better than wait for signals?

> Avatars can be cached by the CM. Any API will be better than the current one,
> because now when an avatar changes and you have three processes interested in
> it, you will receive 3 AvatarRetrieved signals, each one waking up 3 processes.
Avatar are not changed constantly, and besides that you need to be more afraid
of bindings that add match for any signal, that is a real problem and can make
application to wakeup to many times.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Telepathy mailing list