Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1af9f64

Browse files
committed
Revert agent conn stats
1 parent 4b6992c commit 1af9f64

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

agent/agent.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,7 @@ func New(options Options) io.Closer {
123123
tempDir: options.TempDir,
124124
lifecycleUpdate: make(chan struct{}, 1),
125125
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),
126+
connStatsChan: make(chan *agentsdk.Stats, 1),
129127
}
130128
a.init(ctx)
131129
return a

0 commit comments

Comments
 (0)