Skip to content

Commit 29ced72

Browse files
authored
1 parent 034641d commit 29ced72

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

agent/agent.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@ func New(options Options) io.Closer {
122122
tempDir: options.TempDir,
123123
lifecycleUpdate: make(chan struct{}, 1),
124124
lifecycleReported: make(chan codersdk.WorkspaceAgentLifecycle, 1),
125-
connStatsChan: make(chan *agentsdk.Stats, 1),
125+
// 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),
126128
}
127129
a.init(ctx)
128130
return a

0 commit comments

Comments
 (0)