From Dev.to
Postgres race conditions live in a window of a few milliseconds
I wrote a lost-update test, ran it, and found something I had not expected. The race was not hiding. It had a narrow window, and my tests either landed inside it or missed it completely depending on a...
