Hold the save_timer Mutex for the entire save operation
I don't think this makes a difference in practice, but it clarifies the intent of the code and enforces that only one thread can be saving at a time.
How to register an account on GitLab. To prevent spam, new accounts are locked until approved by an admin or the approver bot. You can also file an unlock request to expedite access.
Support: mw:GitLab, how to host a project on GitLab, #wikimedia-gitlab on libera.chat, #GitLab on Phabricator.
I don't think this makes a difference in practice, but it clarifies the intent of the code and enforces that only one thread can be saving at a time.