sourcegraph/internal/codeintel/uploads/background/commitgraph/init.go

12 lines
246 B
Go

package commitgraph
import (
"context"
"github.com/sourcegraph/sourcegraph/internal/goroutine"
)
func NewUpdater() goroutine.BackgroundRoutine {
return goroutine.NewPeriodicGoroutine(context.Background(), ConfigInst.Interval, &updater{})
}