diff --git a/cmd/root.go b/cmd/root.go index 47841de..f4c4360 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -62,7 +62,9 @@ func initConfig() { } func gitlabClient() *gitlab.Client { - client := &http.Client{Timeout: 1 * time.Second} + client := &http.Client{ + Timeout: 5 * time.Second, + } c := gitlab.NewClient(client, config.Get("token")) if err := c.SetBaseURL(config.Get("host")); err != nil { log.Fatal(err)