Refactor queue locking to not use select for update

The test suggests this works.

fixes #622
This commit is contained in:
Matt Jibson 2015-11-03 11:32:28 -05:00
parent 278bc736e3
commit a994b367da
4 changed files with 103 additions and 18 deletions

View file

@ -36,6 +36,7 @@ down_postgres() {
run_tests() {
TEST_DATABASE_URI=$1 TEST=true python -m unittest discover -f
TEST_DATABASE_URI=$1 TEST=true python -m test.queue_threads -f
}
# NOTE: MySQL is currently broken on setup.