mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	@@ -284,6 +284,8 @@ var (
 | 
			
		||||
			RunAtStart bool
 | 
			
		||||
			Schedule   string
 | 
			
		||||
		}{
 | 
			
		||||
			Enabled:    true,
 | 
			
		||||
			RunAtStart: false,
 | 
			
		||||
			Schedule:   "@every 10m",
 | 
			
		||||
		},
 | 
			
		||||
		RepoHealthCheck: struct {
 | 
			
		||||
@@ -293,6 +295,8 @@ var (
 | 
			
		||||
			Timeout    time.Duration
 | 
			
		||||
			Args       []string `delim:" "`
 | 
			
		||||
		}{
 | 
			
		||||
			Enabled:    true,
 | 
			
		||||
			RunAtStart: false,
 | 
			
		||||
			Schedule:   "@every 24h",
 | 
			
		||||
			Timeout:    60 * time.Second,
 | 
			
		||||
			Args:       []string{},
 | 
			
		||||
@@ -302,6 +306,7 @@ var (
 | 
			
		||||
			RunAtStart bool
 | 
			
		||||
			Schedule   string
 | 
			
		||||
		}{
 | 
			
		||||
			Enabled:    true,
 | 
			
		||||
			RunAtStart: true,
 | 
			
		||||
			Schedule:   "@every 24h",
 | 
			
		||||
		},
 | 
			
		||||
@@ -771,7 +776,7 @@ func newLogService() {
 | 
			
		||||
			useConsole = true
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	if (!useConsole) {
 | 
			
		||||
	if !useConsole {
 | 
			
		||||
		log.DelLogger("console")
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user