ALM-701 reverted back to older method of queueing couchdb documents