Issue 11397

Title
Cache invalidation does not work after a disconnection to the database
Priority
bug
Status
unread
Nosy list
nicoe
Assigned to
Keywords

Created on 2022-04-08.18:47:55 by nicoe, last changed 1 month ago by nicoe.

Messages

Author: [hidden] (nicoe) Tryton committer
Date: 2022-04-08.18:47:55

In case there is a disconnection to the database, trytond will be able to reconnect and will keep working. But the thread used to synchronize the cache won't survive, the thread will be restarted later but it might have missed some message.

So we must clear the caches right after the LISTEN call.

History
Date User Action Args
2022-04-08 18:47:55nicoecreate

Showing 10 items. Show all history (warning: this could be VERY long)