mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-04 14:35:32 +00:00
fix(poller): initial ready channel
This commit is contained in:
1 parent
a13ed0c52e
commit
cab56996b7
1 file changed
+1
@@ -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