Adjust queue variables