Fix duration
locking timeout fixes and performance tweeks
code sniffer
Merge pull request #12 from willtp87/7.x.locking_timeout

7.x.locking timeout