Resolve TODOs #8

Merged
6543 merged 3 commits from resolve-todos into master 2021-05-19 21:53:49 +00:00
Showing only changes of commit 19019aa665 - Show all commits

View File

@ -30,7 +30,10 @@ type pullCache struct {
webURL string
}

const perPage = 10
const (
perPage = 10
waitSecForMerge = 3
)

func loadCache() (cache *Cache) {
// default values
@ -142,7 +145,7 @@ func main() {
}

fmt.Printf("\n\nwait 3sec for gitlab before merge created pulls\n")
time.Sleep(3 * time.Second)
time.Sleep(waitSecForMerge * time.Second)
mergePulls(client, pullsToMergeCache)
}