Currently the Activity Stream by default will query every single issue in JIRA and then order by those results. For larger instances, the timeout of 10 seconds is not sufficient for this query and will often result in the stream timing out.
JIRA 5.2.9 - 5.2.0 stream
Mac OS X 10.7.5
Specs of instance verified with:
Load up a decent sized JIRA instance and access the activity stream.
The stream doesn't time out.
The stream times out sporadically.
This appears to be due to the Activity Stream querying for all issues from projects browsable by the current user. They are then sorted by updated date and the stream will only display 5-10 results. A suggested easy fix would be to only return issues from the past month as this would significantly reduce the amount of issues returned by the query.
We have a KB with suggested workarounds - please see JIRA Activity Stream returns One or more activity sources were slow to respond and are not included for further info.
I've just re-read the comments here and I'm not clear if this:
can be fixed everywhere for everyone by using the suggested workarounds.
except in the user profile screen,
the workarounds fail everywhere for some users
If it is 1) then is the problem firstly how we can get to apply the workarounds in the user profile screen?
Note: Activity Stream gadget times out when you have it filtered to only show Fisheye or Crucible Activity as well. Solution needs to focus on all products that can use the Activity Stream, not just JIRA.
Sometimes the error does not display any sources as well, as noticed in the screenshot attach in May
Is this going to be tracked in this same ticket or should we have a separate one for that?
Please resolve this issue together with STRM-2264, thanks.