summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorOlivier Dony <odo@odoo.com>2018-10-31 22:23:34 +0000
committerOlivier Dony <odo@odoo.com>2018-10-31 22:23:34 +0000
commit486777654009aa372a21e9d6dd52e8c22173ee16 (patch)
tree4d42390a2e637baaeac98c7f159730d6aa461e34 /setup
parent94b82bce6db1754531b11b4caf4593349779270b (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 'setup')
0 files changed, 0 insertions, 0 deletions