mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-25 19:31:05 +00:00
Merge pull request #130 from vito/fix-droned-cmd
fix missed NewRunner rename
This commit is contained in:
commit
5e6b26d13d
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ func setupStatic() {
|
|||
|
||||
// setup routes for serving dynamic content.
|
||||
func setupHandlers() {
|
||||
queueRunner := queue.NewRunner(docker.New(), 300*time.Second)
|
||||
queueRunner := queue.NewBuildRunner(docker.New(), 300*time.Second)
|
||||
queue := queue.Start(runtime.NumCPU(), queueRunner)
|
||||
|
||||
hookHandler := handler.NewHookHandler(queue)
|
||||
|
|
Loading…
Reference in a new issue