Commit Graph
7 Commits
Author SHA1 Message Date
Wez Furlong d22ac8251a timeq: adjust timing in unit test to reduce flakiness
The timing is sometimes a bit too tight for CI to
succeed 100% of the time, so relax it a bit.
2023-03-10 18:06:47 -07:00
Wez Furlong 44e4cc2202 timeq: make pop a bit more efficient
Should be closer to O(buckets-with-ready-timers) than the previous
O(milliseconds-to-catchup)
2023-02-18 07:47:06 -07:00
Wez Furlong a20e271365 timeq: increase sleeps in the hope of reducing flakiness
The real solution is to not use the real time for these,
but that requires shimming the concept of time.
2023-02-17 06:03:51 -07:00
Wez Furlong 48451694f7 plumbing for queueing
Need to add our own version of the wheel timer that uses Arc instead
of Rc in order to share it across threads.
2023-02-13 11:23:58 -07:00
Wez Furlong 5a8bc19a1c prep for adding a Queue type 2023-02-13 09:38:10 -07:00
Wez Furlong ffe9978d96 My panic fix got accepted upstream 2023-02-12 06:40:52 -07:00
Wez Furlong 6f5865e2b8 add timeq data structure 2023-02-11 23:07:48 -07:00