botpress / messaging

Botpress messaging server
43 stars 37 forks source link

fix(distributed): fix locks failing to release #429

Closed samuelmasse closed 2 years ago

samuelmasse commented 2 years ago

Fixes a problem where trying to release a lock that was already timed out would cause an error to be logged to the console. In some edge cases it could mean that locked areas of the code could be running at two places at the same time. This PR implements lock refreshing to solve all these problems

Closes DEV-2490

linear[bot] commented 2 years ago

DEV-2490 Fix locking in messaging