Issue 11563

Title
Stopped cache thread are found in Cache._listener preventing cache refreshes
Priority
bug
Status
testing
Nosy list
nicoe, reviewbot
Assigned to
nicoe
Keywords
review

Created on 2022-06-10.16:03:55 by nicoe, last changed 2 weeks ago by reviewbot.

Messages

Author: [hidden] (nicoe) Tryton committer
Date: 2022-06-10.16:03:55

In some cases get_connection could fail in the _listen call, this error is not catched and thus the Cache._listener dictionary keeps a reference to the now dead thread preventing any restart (and thus refresh) of the caches for this (pid, database)

History
Date User Action Args
2022-06-10 16:32:24reviewbotsetmessages: + msg77045
nosy: + reviewbot
2022-06-10 16:26:11nicoesetkeyword: + review
reviews: 411271003
2022-06-10 16:03:55nicoecreate

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