When you click 'Like' in friends-app, there's a kind of complicated
dance that goes on.

First, friends-app initiates a dbus call to friends-dispatcher to tell
it to perform the like. then friends-dispatcher contacts the live web
API to do the like. then, *after* receiving the response from the web
API, it marks in the deemodel that the like count should be increased by
one, and it should be marked as liked=true. *THEN* it returns the
results to friends-app over the dbus api.

So when it says dbus timeout there, basically what's happening is that
the web API request is taking longer than dbus is willing to wait for
the result. This is more likely to happen if the website is under load,
or if your connection is just slow.

The best solution for this would be to make the dbus call asynchronous,
so it doesn't wait for the result before returning. A decent workaround
would be to just make the call fire-and-forget, so that we don't bother
caring about the return from the web API at all.

** Changed in: friends-app (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1286778

Title:
  Likeing isn't displayed correctly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/friends-app/+bug/1286778/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to