add git pull worker
This commit is contained in:
parent
70cfd89fc4
commit
15e74d47e3
5 changed files with 71 additions and 37 deletions
|
|
@ -35,6 +35,9 @@ func main() {
|
|||
serverStopCtx()
|
||||
}()
|
||||
|
||||
// Spawn a goroutine to run git pull every 10 minutes
|
||||
go RunGitRecipeWorker()
|
||||
|
||||
err := s.Run()
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue