Introduce a feature flag so the new layout can be enabled gradually. The race condition disappeared once we added a lock around the update. I recommend the second option because it needs far less configuration. The values were wrong because the timezone was not taken into account. To reproduce the issue, clear the cache and reload the page.
Click to start typing