Repository work and queue strategy