Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

Caught & handled 'resource_already_exists' errors #185

Merged
merged 1 commit into from
Jul 21, 2020

Conversation

allouis
Copy link
Collaborator

@allouis allouis commented Jul 21, 2020

refs TryGhost/Ghost#12065

This protects us against multiple instances of the members-api being
started simultaneously and race conditions where inbetween the initial
"GET" of a plan which returns empty, and the "POST" of a plan to create
it, another instance has already created it.

refs TryGhost/Ghost#12065

This protects us against multiple instances of the members-api being
started simultaneously and race conditions where inbetween the initial
"GET" of a plan which returns empty, and the "POST" of a plan to create
it, another instance has already created it.
@allouis allouis merged commit d92dce2 into TryGhost:master Jul 21, 2020
@allouis allouis deleted the catch-already-created-resources branch July 21, 2020 11:40
allouis added a commit to allouis/Ghost that referenced this pull request Jul 21, 2020
allouis added a commit to TryGhost/Ghost that referenced this pull request Jul 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant