Tweaking queue's performance