ErythroGuild / irene

<Erythro>'s server admin bot.
Mozilla Public License 2.0
0 stars 0 forks source link

During file I/O, finish processing and then R/W atomically #413

Open Ernest314 opened 1 year ago

Ernest314 commented 1 year ago

This prevents a kind of race condition where another user could also open the file, and then the first user to write to the file would have their changes erased.