Closed (fixed)
Project:
Nodequeue
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Oct 2009 at 19:16 UTC
Updated:
20 Oct 2009 at 19:50 UTC
If I set the max length of a queue to n it will never be allowed to grow larger than n-1.
So if I set the max length to 5 then adding the fifth node will already bump the first node from the queue, limiting the queue to a max of 4 elements.
| Comment | File | Size | Author |
|---|---|---|---|
| nodequeue-maxlength-offbyone.patch | 530 bytes | toniw |
Comments
Comment #1
ezra-g commentedYou're right -- I changed this function around recently and missed the -1.
Thanks for the attention to -dev and the patch!
Committed.