Merge lp:~hashar/python-jenkins/fast-job-existence-check into lp:~python-jenkins-developers/python-jenkins/trunk
Proposed by
Antoine "hashar" Musso
Status: | Merged |
---|---|
Merged at revision: | 19 |
Proposed branch: | lp:~hashar/python-jenkins/fast-job-existence-check |
Merge into: | lp:~python-jenkins-developers/python-jenkins/trunk |
Diff against target: |
50 lines (+21/-4) 1 file modified
jenkins/__init__.py (+21/-4) |
To merge this branch: | bzr merge lp:~hashar/python-jenkins/fast-job-existence-check |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Python Jenkins Developers | Pending | ||
Review via email: mp+171303@code.launchpad.net |
Description of the change
Branch contains a single patch that aims to speed up job existence test by lowering the amount of work that need to be done on the server side.
Previously job_exists() was calling get_job_info() which does an API call to 'job/%(
Another step would be to update the other methods to rely on job_exists() instead of get_job_info(). Maybe with a new method like requireExisting
To post a comment you must log in.