Skip to content

Commit a8afac7

Browse files
committed
test: change event pool to 1 worker
Signed-off-by: JenTing Hsiao <[email protected]>
1 parent 2e74855 commit a8afac7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/ws-manager/pkg/manager/monitor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const (
5454
// eventpoolWorkers is the number of workers in the event workpool. This number limits how many workspace events can be handled
5555
// in parallel; that is NOT the same as "how many workspaces can start in parallel". The event handling per workspace is written
5656
// so that it's quick in the "hot path" (i.e. less than 500ms). Thus this number should be around 0.5*expected(events per second).
57-
eventpoolWorkers = 100
57+
eventpoolWorkers = 1
5858
)
5959

6060
var (

0 commit comments

Comments
 (0)