Mercurial > libervia-backend
view .hgignore @ 3941:036188fff714
plugin pubsub cache: avoid race condition by retrying node request:
When retrieving items, there may be a race condition if a node is not found in cache, then
created before `setPubsubNode` is called. This patch handle this case by retrying in case
of UNIQUE constraint violation.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 15 Oct 2022 20:38:33 +0200 |
parents | 00212260f659 |
children | 84f6bee6440d |
line wrap: on
line source
syntax: glob *.pyc *.pyv *.swp *.swo tags twistd.log twistd.pid bridge_constructor/generated tests/e2e/report* _trial_temp/ sat.egg-info *.un~ dist MANIFEST build ctags_links/ Session.vim .build .pytest_cache env/ .eggs/ libervia_backend.egg-info/ .mypy_cache/ twisted/plugins/dropin.cache