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

Too many jobs makes jQuery hang the browser #7

Closed
jgeiger opened this issue Mar 4, 2010 · 3 comments
Closed

Too many jobs makes jQuery hang the browser #7

jgeiger opened this issue Mar 4, 2010 · 3 comments
Labels

Comments

@jgeiger
Copy link
Contributor

jgeiger commented Mar 4, 2010

If you have too many jobs running at once, you get a problem with jQuery hanging the browser because it keeps trying to display all of them. This patch will limit the display to 25 jobs and give you a notice on the job queue window that it's being limited. I've also submitted a pull request.

A few of the lines also were changed because of excess trailing whitespace.

http://github.com/jgeiger/cloud-crowd/compare/jgeiger

@jashkenas
Copy link
Member

This is great. I think that we should go further and remove the visual job list from the UI, because it's of limited utility anyway when you have only a couple of jobs. Instead, numerical stats about how many active jobs you have running, and what stage they're in, etc.

@jgeiger
Copy link
Contributor Author

jgeiger commented Mar 4, 2010

That was my next plan. I'd like a running snapshot of what kind of jobs have been run and how many are queued, running, finished, etc. If you've seen resque, I'd like to get something like how they show the number of messages in each queue, but include historical and recent time breakdowns (all-time, last 5 minutes, 30, hour, etc) without being too cluttered.

@jashkenas
Copy link
Member

I've merged jgeiger's branch that fixes the overload issue -- removing the job list is next on the list.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants