Skip to content
Snippets Groups Projects
Commit 5118da53 authored by tsm-odoo's avatar tsm-odoo
Browse files

[IMP] bus: last notification id reset after restoring db


Before this PR, the last notification id known by the client
was not reset after restoring the database. This was an issue
since there can be a gap between the last notification  and the
one that has been restored with the database. In this scenario,
messages are not received after restoring the database since the
client subscribes to higher notification ids that the ones that are
created.

This PR fixes this issue by defaulting to 0 if the one the client
passed is higher.

closes odoo/odoo#103025

Signed-off-by: default avatarSébastien Theys (seb) <seb@odoo.com>
parent cd356f29
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment