Announcement Announcement Module
Collapse
No announcement yet.
Why setConnectionValues method (of interface ApiAdapter<?>) is called 7 times? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Why setConnectionValues method (of interface ApiAdapter<?>) is called 7 times?

    My problem is that fetching user profile (getUserProfile() called in setConnectionValues(...)) is very slow and I cannot cache it without knowing user id.

    Do you have similar problems? What is (would be) your approach to solve it?


    Thank you in advance
    Giovanni from Naples, Two Sicilies.


    PS For the sake of clarity, I attached an extracted log with stack trace. You can see that since the user clicks the login button (12:13:15,005) to when the control returns to him/her (12:13:26,491) it tooks about 11 seconds, mostly due to the 7 calls (and for getUserProfile() call slowness).
    I don't know if can be useful to know that the system uses OAuth 1 ...
Working...
X