improve adaptive locking
Merge branch 'master' of https://github.com/amidvidy/tsxleveldb