mlib: use flock to get around SQLite busy errors
commit8fcf170dcc71dfe9e3dbaffc0b4330391bc0f8da
authorEric Wong <e@80x24.org>
Tue, 30 Jan 2018 02:54:44 +0000 (30 02:54 +0000)
committerEric Wong <e@80x24.org>
Tue, 30 Jan 2018 09:12:47 +0000 (30 09:12 +0000)
treefe888a0bdb900f7b0ac4c1e8207483165767312f
parenteb116a758a1fdfd5847d433d337531bcfb81304b
mlib: use flock to get around SQLite busy errors

The SQLite busy waiting scheme isn't great for usability
and the busy timeout is done by sleep+backoff.  I prefer
to say we only support filesystems with flock() for our
little DB.
lib/dtas/mlib.rb