diff options
| author | Olivier Dony <odo@odoo.com> | 2018-10-31 22:23:34 +0000 |
|---|---|---|
| committer | Olivier Dony <odo@odoo.com> | 2018-10-31 22:23:34 +0000 |
| commit | 486777654009aa372a21e9d6dd52e8c22173ee16 (patch) | |
| tree | 4d42390a2e637baaeac98c7f159730d6aa461e34 /addons/mail/static/src/js/composers/basic_composer.js | |
| parent | 94b82bce6db1754531b11b4caf4593349779270b (diff) | |
[FIX] bus: never GC during requests
Running the bus garbage collector synchronously during the handling of a
request can stall the request for a very long time.
Instead, we add this step to the existing auto-vacuum scheduled job that
handles this kind of housecleaning. It brings another interesting bonus:
it can be scheduled outside of peak hours, which will avoid blocking other
bus-related transactions (the GC deletes a lot of rows and takes a lot
of exclusive locks in the database)
closes odoo/odoo#28326
Diffstat (limited to 'addons/mail/static/src/js/composers/basic_composer.js')
0 files changed, 0 insertions, 0 deletions
