- Notifications
You must be signed in to change notification settings - Fork1.1k
Commite4e4669
authored
fix(agent/agentcontainers): remove unneeded default branch (#20511)
Closescoder/internal#769According to the `time.NewTicker` documentation [^1] (which is usedunder the hood byhttps://github.com/coder/quartz) it will automaticallyadjust the time interval to make up for slow receivers. This means weshould be safe to drop the default branch.> NewTicker returns a new Ticker containing a channel that will send thecurrent time on the channel after each tick. The period of the ticks isspecified by the duration argument. The ticker will adjust the timeinterval or drop ticks to make up for slow receivers. The duration dmust be greater than zero; if not, NewTicker will panic.[^1]:https://pkg.go.dev/time#Ticker1 parenta1fa58a commite4e4669
1 file changed
+0
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
682 | 682 | | |
683 | 683 | | |
684 | 684 | | |
685 | | - | |
686 | | - | |
687 | 685 | | |
688 | 686 | | |
689 | 687 | | |
| |||
0 commit comments
Comments
(0)