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 034641d commit 29ced72Copy full SHA for 29ced72
agent/agent.go
@@ -122,7 +122,9 @@ func New(options Options) io.Closer {
122
tempDir: options.TempDir,
123
lifecycleUpdate: make(chan struct{}, 1),
124
lifecycleReported: make(chan codersdk.WorkspaceAgentLifecycle, 1),
125
- connStatsChan: make(chan *agentsdk.Stats, 1),
+ // TODO: This is a temporary hack to make tests not flake.
126
+ // @kylecarbs has a better solution in here: https://github.com/coder/coder/pull/6469
127
+ connStatsChan: make(chan *agentsdk.Stats, 8),
128
}
129
a.init(ctx)
130
return a
0 commit comments