dboopsloader.py runs in autocommit mode
Bug #879491 reported by
Roman Yepishev
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-oops-tools |
Fix Released
|
Low
|
Roman Yepishev |
Bug Description
At the moment if the number of oopses is big, the calls to db to save the date entry become expensive.
I psopose updating the date only if the cached value does not equal the date from the oops.
Related branches
lp://staging/~rye/python-oops-tools/oopsloader-update-date-when-needed
- Robert Collins (community): Approve
-
Diff: 20 lines (+6/-4)1 file modifiedsrc/oopstools/oops/dboopsloader.py (+6/-4)
summary: |
- dboopsloader.py updates entry.date even if it does not change + dboopsloader.py runs in autocommit mode |
Changed in python-oops-tools: | |
status: | New → In Progress |
assignee: | nobody → Roman Yepishev (rye) |
importance: | Undecided → Low |
Changed in python-oops-tools: | |
status: | In Progress → Fix Committed |
Changed in python-oops-tools: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.