MEDIUM: queue: adjust position based on priority-class and priority-offset
authorPatrick Hemmer <haproxy@stormcloud9.net>
Fri, 11 May 2018 16:52:31 +0000 (12:52 -0400)
committerWilly Tarreau <w@1wt.eu>
Fri, 10 Aug 2018 13:06:48 +0000 (15:06 +0200)
commit248cb4c5033f7379d33b824be64012515d943c36
tree3ec253c352646f3be1bf8f529e08d5a5c7600d3c
parent268a707a3daa934871b01a21b73c6e7fd2b6e9b3
MEDIUM: queue: adjust position based on priority-class and priority-offset

The priority values are used when connections are queued to determine
which connections should be served first. The lowest priority class is
served first. When multiple requests from the same class are found, the
earliest (according to queue_time + offset) is served first. The queue
offsets can span over roughly 17 minutes after which the offsets will
wrap around. This allows up to 8 minutes spent in the queue with no
reordering.
src/queue.c