cloudflare/boringtun
在 GitHub 查看Keeping timers relative to start of tunnel initiation is confusing
Open
#309 建立於 2022年8月24日
code qualitygood first issue
倉庫指標
- Star
- (4,849 star)
- PR 合併指標
- (平均合併 318天 18小時) (30 天內合併 3 個 PR)
描述
Keeping timers this way means that for example update_session_timers takes a time_now param that's a Duration instead of an Instant. All entries in Tunn::timers are Durations when many of them are "the time that something happened" and idiomatically I think these would be better expressed as Instants.