Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b6992c commit 1af9f64Copy full SHA for 1af9f64
agent/agent.go
@@ -123,9 +123,7 @@ func New(options Options) io.Closer {
123
tempDir: options.TempDir,
124
lifecycleUpdate: make(chan struct{}, 1),
125
lifecycleReported: make(chan codersdk.WorkspaceAgentLifecycle, 1),
126
- // TODO: This is a temporary hack to make tests not flake.
127
- // @kylecarbs has a better solution in here: https://github.com/coder/coder/pull/6469
128
- connStatsChan: make(chan *agentsdk.Stats, 8),
+ connStatsChan: make(chan *agentsdk.Stats, 1),
129
}
130
a.init(ctx)
131
return a
0 commit comments