mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-03 08:02:36 +09:00 
			
		
		
		
	remove build tag information for redis and memcache (#3940)
This commit is contained in:
		
				
					committed by
					
						
						Lunny Xiao
					
				
			
			
				
	
			
			
			
						parent
						
							e5f7f7dbc7
						
					
				
				
					commit
					8c7e632a3d
				
			@@ -201,8 +201,6 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
 | 
				
			|||||||
## Cache (`cache`)
 | 
					## Cache (`cache`)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- `ADAPTER`: **memory**: Cache engine adapter, either `memory`, `redis`, or `memcache`.
 | 
					- `ADAPTER`: **memory**: Cache engine adapter, either `memory`, `redis`, or `memcache`.
 | 
				
			||||||
   - To use `redis` or `memcache`, be sure to rebuild everything with build tags `redis` or
 | 
					 | 
				
			||||||
     `memcache`: `go build -tags='redis'`.
 | 
					 | 
				
			||||||
- `INTERVAL`: **60**: Garbage Collection interval (sec), for memory cache only.
 | 
					- `INTERVAL`: **60**: Garbage Collection interval (sec), for memory cache only.
 | 
				
			||||||
- `HOST`: **\<empty\>**: Connection string for `redis` and `memcache`.
 | 
					- `HOST`: **\<empty\>**: Connection string for `redis` and `memcache`.
 | 
				
			||||||
   - Redis: `network=tcp,addr=127.0.0.1:6379,password=macaron,db=0,pool_size=100,idle_timeout=180`
 | 
					   - Redis: `network=tcp,addr=127.0.0.1:6379,password=macaron,db=0,pool_size=100,idle_timeout=180`
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user