mirror of
https://github.com/luxfi/zapdb.git
synced 2026-07-27 06:54:45 +00:00
Made some changes to improve the quality of the code and comments: * Only generate the defer code to release the lock on the value directory if it is different from the main directory * Removed a period from ErrValueThreshold to keep it consistent with the other errors * Removed an unused image * Make explicit that if the directory or the value directory don't exist, they will try to be created * Move a switch case to the appropriate place * Replace ts += 1 for t++