We have a system that automatically submits jobs to muster with the API. We use the python script.
We noticed that it takes longer to communicate when we have a lot of jobs in the queu. I assume it is the same when you login on the console, it has to read all the jobs and logs.
As we have a lot of jobs (thousands) it is taking longer and longer to submit them.
Now each job is submitted separate to muster, so each time it has to read all the jobs and logs.
I there a way to let it stay connected instead of retrieving the complete job list each time?
you are calling your function CheckNameFolder that in turns downloads all the jobs, that’s why your script is slow. You may consider a different way to submit the job without checking if that folder exists, maybe doing the check in a separate script that you launch just once.
Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.
We use cookies to ensure that we give you the best experience on our website Cookies are also used to send anonymous browsing data to Google Analytics. We give you the option to Refuse our cookies.