summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2011-02-08 15:09:24 +0100
committerOlivier Dony <odo@openerp.com>2011-02-08 15:09:24 +0100
commit4d735c9a73ab3551be18d9bfd18646a7271d12ec (patch)
treec6e736cac55a604969dff62ad7280db449a8aff7 /addons/analytic_user_function
parent804fa924cfaacfd379a6e0c137c611b42a753412 (diff)
[FIX] osv_memory: expire records only based on age by default + provide configurable settings
This revision introduces two new config parameters and the corresponding server startup parameters: - osv_memory_count_limit: limit on number or records in each osv_mem table - osv_memory_age_limit: limit on maximum age of records in each osv_mem table The default values have been changed to count=False (disabled), age=1 (hour), so that in the default config the server will only expire osv_memory records that are 1 hour old or more, avoiding problems related with some osv_memory classes that instantiate a large number of short-lived objects. A corresponding set of YAML tests has been added to test the proper behaviour of the new parameters, and check the various use cases. lp bug: https://launchpad.net/bugs/555271 fixed lp bug: https://launchpad.net/bugs/709559 fixed bzr revid: odo@openerp.com-20110208140924-0bgxqgt1oyrxwz3z
Diffstat (limited to 'addons/analytic_user_function')
0 files changed, 0 insertions, 0 deletions