1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-24 10:07:21 +02:00

Merge pull request #130 from vito/fix-droned-cmd

fix missed NewRunner rename
This commit is contained in:
Brad Rydzewski 2014-02-25 23:19:42 -08:00
commit 5e6b26d13d

View File

@ -122,7 +122,7 @@ func setupStatic() {
// setup routes for serving dynamic content. // setup routes for serving dynamic content.
func setupHandlers() { func setupHandlers() {
queueRunner := queue.NewRunner(docker.New(), 300*time.Second) queueRunner := queue.NewBuildRunner(docker.New(), 300*time.Second)
queue := queue.Start(runtime.NumCPU(), queueRunner) queue := queue.Start(runtime.NumCPU(), queueRunner)
hookHandler := handler.NewHookHandler(queue) hookHandler := handler.NewHookHandler(queue)