mirror of
https://gitea.com/gitea/act_runner.git
synced 2025-06-13 01:57:13 +02:00
fix(poller): initial ready channel
This commit is contained in:
@ -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),
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user