commit priorityqueue