mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-24 08:02:18 +02:00
fix missed NewRunner rename
This commit is contained in:
parent
9aa5f95e92
commit
4df9207771
@ -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 New Issue
Block a user