community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <>
Subject [jira] [Commented] (COMDEV-168) fetches everything each time
Date Tue, 29 Sep 2015 10:36:05 GMT


Sebb commented on COMDEV-168:

It also refetches the data/JIRA/projects.json listing if it is older than 24 hours.

This is needed by every request, regardless of group membership.

> fetches everything each time
> ---------------------------------------
>                 Key: COMDEV-168
>                 URL:
>             Project: Community Development
>          Issue Type: Bug
>          Components: Reporter Tool
>            Reporter: Sebb
> The reporter tool uses the script to fetch various items of data for each
of the projects to which the login has access.
> However some of the data is expensive to fetch, e.g. the JIRA data.
> This is done even if the user does not click on the tab.
> Although the data is cached, it can only be cached for a short time (currently 2 days
is used).
> For logins who are members of multiple projects that use JIRA, it can take so long to
fetch the JIRA info that the CGI script times out. Retrying will eventually allow the app
to work. [e.g. a member of Commons will potentially need to download 50 JIRA statistics]
> It would be better if the data were only fetched when needed, though this would still
cause issues for PMCs like Commons.
> Alternatively, the data could be fetched by a cron job.
> A disadvantage is that the data might be fetched even when it is not going to be used.
Note: the cron job could/should be scheduled for times when JIRA is not as busy; also it could
be set to run relatively slowly (i.e. with pauses between fetches).

This message was sent by Atlassian JIRA

View raw message