summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2017-02-15 23:27:07 +0100
committerOlivier Dony <odo@openerp.com>2017-05-05 17:02:45 +0200
commit831a2a00e35bde8e47a1678b3156148381414392 (patch)
treef90760cf580542327dfffb8343ef68395dd4a859 /addons/web/static/src/js/views/basic/basic_controller.js
parent5a15d97387372bc1432f6cdc476215d16ce0f409 (diff)
[FIX] longpolling worker: enforce memory limits
The GeventServer process was not enforcing the configured memory limits. In the unlikely event of a service handling hundreds of concurrent longpolling requests on hundreds of different databases, this could render the Registry LRU ineffective in keeping a low memory footprint. Even after being evicted from the LRU, these hundreds of registries would still be referenced by their in-progress requests, so the memory would not be freed. An Odoo 10 registry can typically take 15MB of memory, so this could become a problem.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions