Serialize writes to the db to prevent sqlite concurrency failures [#307]
Serialize writes to the db to prevent sqlite concurrency failures [#307]

This forces all updates/inserts to the db to go through a
single-threaded executor, which prevents concurrent db access and the
resulting lock exceptions. This is hopefully a stopgap measure until we
get rid of sqlite entirely.

codonnell/clojars-web,tobias/clojars-web,xeqi/clojars-web,leonid-shevtsov/clojars-web,thiagofm/clojars-web,clojars/clojars-web,tobias/clojars-web,technomancy/clojars-web,nberger/clojars-web,nberger/clojars-web,clojars/clojars-web,dotemacs/clojars-web,xeqi/clojars-web,clojars/clojars-web,ato/clojars-web,tobias/clojars-web,technomancy/clojars-web,codonnell/clojars-web,beppu/clojars-web,ato/clojars-web,dotemacs/clojars-web