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

make list jobs parallelized #6

Open
mnikhil-git opened this issue Mar 14, 2014 · 1 comment
Open

make list jobs parallelized #6

mnikhil-git opened this issue Mar 14, 2014 · 1 comment

Comments

@mnikhil-git
Copy link
Contributor

Hi @ryukobayashi

I see currently the listJobs method gets the list of jobs and process them sequentially in a for loop. Is it possible to make it parallelized by using threads? so faster responses can be had at the rest client.

Also, I see when I use /job/detail/, the corresponding method iterates over the list of running jobs until the job id is matched and the details of the job are fetched -- this kind of slows down the operations for client sometimes, it is perhaps okay to just get the jobstatus of given job id and then get the details if the jobid is genuine?

thanks.

@ryukobayashi
Copy link
Member

@mnikhil-git hm, I see. maybe, I think that it can be a thread.

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

No branches or pull requests

2 participants