annotate docker/prosody-demo/Dockerfile @ 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 db0f4d419448
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3511
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
1 FROM libervia/prosody:e2e
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
2
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
3 LABEL maintainer="Goffi <tmp_dockerfiles@goffi.org>"
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
4
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
5 RUN prosodyctl register demo server1.test demo