Skip to content

Commit 7c5a251

Browse files
committed
Merge branch 'main' into buildstate
2 parents 7300890 + 29ced72 commit 7c5a251

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

agent/agent.go

Lines changed: 3 additions & 1 deletion
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)