Move queue len magic number to constant