1
0
mirror of https://gitea.com/gitea/act_runner synced 2024-11-09 18:05:52 +01:00

fix(poller): initial ready channel

This commit is contained in:
Bo-Yi Wu 2022-11-17 17:32:10 +08:00 committed by Jason Song
parent a13ed0c52e
commit cab56996b7

@ -22,6 +22,7 @@ func New(cli client.Client, dispatch func(context.Context, *runnerv1.Task) error
routineGroup: newRoutineGroup(),
metric: &metric{},
workerNum: workerNum,
ready: make(chan struct{}, 1),
}
}