Commit Graph
1 Commits
Author SHA1 Message Date
Christofer Nolander 6cf1a5b6b8 time: fix DelayQueue rewriting delay on insert after Poll::Ready (#2285)
When the queue was polled and yielded an index from the wheel, the delay
until the next item was never updated. As a result, when one item was
yielded from `poll_idx` the following insert erronously updated the
delay to the instant of the inserted item.

Fixes: #1700
2020-03-26 12:54:56 -07:00