mirror of
				https://github.com/go-gitea/gitea
				synced 2025-09-28 03:28:13 +00:00 
			
		
		
		
	Use default Git timeout when checking repo health (#33593)
This commit is contained in:
		| @@ -54,7 +54,7 @@ func registerRepoHealthCheck() { | ||||
| 			RunAtStart: false, | ||||
| 			Schedule:   "@midnight", | ||||
| 		}, | ||||
| 		Timeout: 60 * time.Second, | ||||
| 		Timeout: time.Duration(setting.Git.Timeout.Default) * time.Second, | ||||
| 		Args:    []string{}, | ||||
| 	}, func(ctx context.Context, _ *user_model.User, config Config) error { | ||||
| 		rhcConfig := config.(*RepoHealthCheckConfig) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user