Merge lp://qastaging/~therp-nl/openobject-server/ronald@therp.nl_fix_orm_lp1009014-6.1 into lp://qastaging/openobject-server/6.1

Proposed by Ronald Portier (Therp)
Status: Needs review
Proposed branch: lp://qastaging/~therp-nl/openobject-server/ronald@therp.nl_fix_orm_lp1009014-6.1
Merge into: lp://qastaging/openobject-server/6.1
Diff against target: 101 lines (+29/-39)
1 file modified
openerp/osv/orm.py (+29/-39)
To merge this branch: bzr merge lp://qastaging/~therp-nl/openobject-server/ronald@therp.nl_fix_orm_lp1009014-6.1
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+108945@code.qastaging.launchpad.net

Description of the change

This branches fixes bug #1009014

- It properly computes when vacuum cleaning should be done

- It has a safeguard against deleting recent records, that have a huge chance of still being in use

- It removes the obsolete, unneeded and non-functional code to trigger cleaning on max number of records

To post a comment you must log in.

Unmerged revisions

4197. By Ronald Portier (Therp)

[FIX] Updated vacuum cleaning of transient models;
- corrected check to prevent too frequent execution
- removed buggy code testing for max count
- consolidated everything, except retrieving configuration, in the one method _transient_vacuum
- made all code PEP8 compliant

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.