issues
search
KingSupernova31
/
RulesGuru
The source for rulesguru.net, a resource for Magic judges.
https://rulesguru.net/
8
stars
6
forks
source link
Institute a system to avoid file access collisions on the server
#184
Open
KingSupernova31
opened
1 year ago
KingSupernova31
commented
1 year ago
recentlyDistributedQuestions is vulnerable to being changed by both dailyEmails and the server at the same time.
createBackups copies the database file and JSON files while in use, which could result in a corrupted copy being made.
updateDataFiles could edit any of the data files at the same time as the server is using them. (Including just sending a response to the client.)