Commit 0b78e68
authored
feat: more fine-granular timer update (#94)
At present, it is up to the host app how often it calls
`update_timers_at`. Once a second should be enough but ideally, a `Tunn`
just exposes when the next internal timer fires. This is being tackled
more generally in #61. In order to ensure we send keep-alive messages in
time, we incorporate `want_passive_keepalive_at` into the
`next_timer_update` into it.1 parent a541c0e commit 0b78e68
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
376 | 377 | | |
377 | 378 | | |
378 | 379 | | |
379 | | - | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
380 | 384 | | |
381 | 385 | | |
382 | 386 | | |
| |||
0 commit comments