~jbaudoux/openobject-server/trunk-bugfix-727263

  • Committer: Olivier Dony
  • Date: 2011-02-08 14:09:24 UTC
  • Revision ID: odo@openerp.com-20110208140924-0bgxqgt1oyrxwz3z
[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.
Filename Latest Rev Last Changed Committer Comment Size
..
bin 1 17 years ago pinky New trunk Diff
debian 1119.1.138 15 years ago P. Christeas Merge commit 'c18f2a7474c9' into mdv-gpl3-py26 Diff
doc 1 17 years ago pinky New trunk Diff
man 1 17 years ago pinky New trunk Diff
pixmaps 303 17 years ago ced SERVER: improve win32 installer Diff
python25-compat 1119.1.184 15 years ago P. Christeas Backport the HTTP server code from python 2.6 to 2 Diff
sql 1119.1.66 15 years ago P. Christeas SQL: help script to clean after missing ref data.. Diff
tools 2269 14 years ago Olivier Dony [ADD] new experimental utility script: xml2yml for Diff
win32 300 17 years ago ced KERNEL: add win32 compile Diff
.bzrignore 2942.1.8 13 years ago nvi-openerp [IMP] wip 250 bytes Diff Download File
LICENSE 3079 13 years ago Olivier Dony [IMP] license: renamed general license file, and i 34.1 KB Diff Download File
MANIFEST.in 2916 13 years ago Stephane Wirtel [FIX] Include the addons 427 bytes Diff Download File
README 2789 14 years ago Fabien Pinckaers modifs 664 bytes Diff Download File
rpminstall_sh.txt 1680.1.2 15 years ago Stephane Wirtel [FIX] generate the pyc for redhat 673 bytes Diff Download File
setup.cfg 2917 13 years ago Stephane Wirtel [FIX] Update the version of Python 354 bytes Diff Download File
setup.nsi 3189 13 years ago Stephane Wirtel [FIX] Add new parameters in the setup.nsi 14.9 KB Diff Download File
File setup.py 3333 13 years ago Jay Vora(OpenERP) [FIX] setup.py : typo corrected 8.4 KB Diff Download File
ssl-cert.cfg 3017.2.16 13 years ago P. Christeas setup: The ssl certs should *not* be distributed. 2 KB Diff Download File