mirror of
https://github.com/discourse/discourse.git
synced 2025-02-09 21:04:48 +00:00
0bd3e03144
Why this change? In workflow runs, we have seen processes being stuck on a flock lock and I'm guessing because we are using `"w"` when opening the file which the ruby documentation advises against as it states "don't use "w" because it truncates the file before lock." Stuck workflow run: https://github.com/discourse/discourse/actions/runs/7690278010/job/20953851469