mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 00:20:25 +08:00 
			
		
		
		
	Add build tag enable prompt
This commit is contained in:
		@@ -174,6 +174,12 @@ func newLogService() {
 | 
			
		||||
 | 
			
		||||
func newCacheService() {
 | 
			
		||||
	CacheAdapter = Cfg.MustValue("cache", "ADAPTER", "memory")
 | 
			
		||||
	if cache.EnableRedis {
 | 
			
		||||
		log.Info("Redis Enabled")
 | 
			
		||||
	}
 | 
			
		||||
	if cache.EnableMemcache {
 | 
			
		||||
		log.Info("Memcache Enabled")
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	switch CacheAdapter {
 | 
			
		||||
	case "memory":
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user