Ruby job queueing using Postgres' advisory locks.