Commit Graph

9 Commits

Author SHA1 Message Date
Marten Seemann
3258060b48 utils: migrate tests away from Ginkgo (#4675) 2024-09-13 23:36:08 -07:00
Marten Seemann
7a10ed602d utils: remove unused methods and constructor from RTTStats (#4672) 2024-09-12 00:55:57 -07:00
Marten Seemann
870fbe7ab0 migrate to Ginkgo v2 2022-10-11 16:38:44 +04:00
Marten Seemann
ee013d9d23 use a monotonous timer for the connection (#3570)
There's no point in having the timer fire multiple times for the same
timestamp. By using a monotonuos timer we avoid busy-looping in cases where the
timer fires, but we can't actually send a packet.
2022-10-11 05:36:10 -07:00
Marten Seemann
1db3f06e87 stop the timer when the session's run loop returns 2020-05-02 07:53:47 +07:00
Marten Seemann
516b427d46 don't set a timer when the deadline is the zero value 2018-12-18 22:06:57 +06:30
Marten Seemann
072b84870c don't fire a newly created timer 2018-12-18 22:06:57 +06:30
Marten Seemann
c3cc35363b fire the timer twice, if reset to the same deadline 2018-01-21 14:10:15 +11:00
Marten Seemann
c0b09c8646 make utils an internal package 2017-06-09 22:28:40 +02:00