Closed liquidnya closed 2 years ago
This will add a simple custom codes test case.
This will also change the following behavior:
I changed it to just let it crash. In case one of the files is corrupt the user of the queue will be notified with the crash, and they can decide to delete the corrupted file or to restore from a backup or maybe they can manually save the data.
When the queue is run for the very first time, the files
waitingUsers.txt
anduserWaitTime.txt
are created, but it's contents is not loaded and then the queue crashes after a while. This will load the contents of the files after they have been created.