Merge lp:~cjwatson/launchpad/optimise-git-ref-scan into lp:launchpad
Proposed by
Colin Watson
Status: | Merged |
---|---|
Merged at revision: | 18825 |
Proposed branch: | lp:~cjwatson/launchpad/optimise-git-ref-scan |
Merge into: | lp:launchpad |
Diff against target: |
86 lines (+51/-9) 2 files modified
lib/lp/code/model/gitrepository.py (+16/-9) lib/lp/code/model/tests/test_gitrepository.py (+35/-0) |
To merge this branch: | bzr merge lp:~cjwatson/launchpad/optimise-git-ref-scan |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
William Grant | code | Approve | |
Review via email: mp+359171@code.launchpad.net |
Commit message
Reduce the number of GitRef columns fetched by ref scan jobs.
Description of the change
GitRef rows can be pretty wide due to commit_message, and we don't need the whole thing here.
I'm sure there's more to do here, since there are repositories with more than 100000 refs, but this may help with memory exhaustion issues.
To post a comment you must log in.