This commit is contained in:
@@ -223,7 +223,7 @@ func main() {
|
||||
if gitEnable {
|
||||
xMinute, _ := strconv.Atoi(gitInterval)
|
||||
xDuration := time.Duration(xMinute) * time.Minute
|
||||
startAutoClone(gitRepo, gitBranch, gitDir, xDuration)
|
||||
go startAutoClone(gitRepo, gitBranch, gitDir, xDuration)
|
||||
}
|
||||
|
||||
StopServer(http.ListenAndServe(":8080", mux))
|
||||
|
Reference in New Issue
Block a user