At the moment, states on the server are saved as flat JSON files. This is convenient for now, but runs the risk that if two setEntry.py calls are made at the same time, we'll have two threads writing to the same file, potentially corrupting the data. Changes here involve converting file read/write calls to SQLite read/write calls, and ensuring that the calls are synchronized.
At the moment, states on the server are saved as flat JSON files. This is convenient for now, but runs the risk that if two setEntry.py calls are made at the same time, we'll have two threads writing to the same file, potentially corrupting the data. Changes here involve converting file read/write calls to SQLite read/write calls, and ensuring that the calls are synchronized.
To be completed after issues #10 and #11.