Bug 14795 - Alias spec causes RequestAliases call to timeout with lots of handles
Summary: Alias spec causes RequestAliases call to timeout with lots of handles
Status: RESOLVED NOTABUG
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-spec (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-03 08:55 UTC by Xavier Claessens
Modified: 2009-04-25 09:18 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Xavier Claessens 2008-03-03 08:55:23 UTC
When Empathy connects it does one RequestAliases() call with all handles of the roster, causing gabble to fetch all vCards... It takes too long and the dbus call timeouts so empathy sometimes don't show aliases.
Comment 1 Xavier Claessens 2008-03-16 10:41:48 UTC
Now that empathy uses tp-glib API for requesting aliases I fixed the bug by overriding the default dbus timeout, it set it to 5minutes and it seems to work pretty well.
Comment 2 Will Thompson 2009-04-25 09:18:35 UTC
Now that GetAliases (and indeed Contacts) exists, I think this is not a bug: RequestAliases is the method you use when you really, really want the alias, whereas GetAliases and AliasesChanged are the API you use to opportunistically discover aliases as they come in.


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.