Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A list's first auto-update should happen sooner #1360

Closed
chalkos opened this issue Oct 3, 2018 · 0 comments
Closed

A list's first auto-update should happen sooner #1360

chalkos opened this issue Oct 3, 2018 · 0 comments
Assignees
Milestone

Comments

@chalkos
Copy link
Contributor

chalkos commented Oct 3, 2018

Usually after being redirected to an ongoing job, the reports list is empty because no reports have yet been commited, but RODA should try to display the reports as soon as possible, instead of waiting 10 seconds for the first refresh.

Note that some jobs might be very fast and finish before the job page is loaded. With the current code, this means that the page is showing a completed job and the reports list (which may be empty) will not be set to auto-update. This case should also be handled to show the reports for very fast jobs.

@chalkos chalkos added this to the 2.3.0 milestone Oct 3, 2018
@chalkos chalkos self-assigned this Oct 3, 2018
chalkos added a commit that referenced this issue Oct 10, 2018
Improve logging in asynctablecell.
The job search results list updates every 5 seconds.
Faster refresh on the show job page:
- if the job started less than 30 seconds ago, update every 2 seconds (page contents and list contents);
- otherwise if the job is running or ended less than 30 seconds ago, update every 10 seconds (page contents and list contents).
- otherwise do not auto-update.
The list auto-update timer is set once and never changed, but the job page auto-update will be changing change according to the conditions above.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants