16636: a-d-c: add two more metrics:
[arvados.git] / lib / dispatchcloud / dispatcher.go
index 02b6c976aec825f810eab3cca43488c808d5cc4e..278bcb66579b7f37c280e0c2bf5c62ca3524694d 100644 (file)
@@ -181,7 +181,7 @@ func (disp *dispatcher) run() {
        if pollInterval <= 0 {
                pollInterval = defaultPollInterval
        }
-       sched := scheduler.New(disp.Context, disp.queue, disp.pool, staleLockTimeout, pollInterval)
+       sched := scheduler.New(disp.Context, disp.queue, disp.pool, disp.Registry, staleLockTimeout, pollInterval)
        sched.Start()
        defer sched.Stop()