Mercurial > libervia-backend
view docker/docker-compose.yml @ 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 | 0ffaa231138c |
children |
line wrap: on
line source
version: "3.6" services: backend: image: "libervia/backend:${DOCKER_LIBERVIA_REV:-dev}" build: context: backend-dev args: REVISION: "${DOCKER_LIBERVIA_REV:-}" web: image: "libervia/web:${DOCKER_LIBERVIA_REV:-dev}" build: context: libervia-web-dev args: REVISION: "${DOCKER_LIBERVIA_REV:-}" depends_on: - backend