forked from forgejo/forgejo
Fixed #209
This commit is contained in:
parent
688ec6ecbd
commit
2f820e01d8
4 changed files with 31 additions and 23 deletions
|
@ -1,11 +0,0 @@
|
|||
// +build memcache
|
||||
|
||||
package base
|
||||
|
||||
import (
|
||||
_ "github.com/gogits/cache/memcache"
|
||||
)
|
||||
|
||||
func init() {
|
||||
EnableMemcache = true
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
// +build redis
|
||||
|
||||
package base
|
||||
|
||||
import (
|
||||
_ "github.com/gogits/cache/redis"
|
||||
_ "github.com/gogits/session/redis"
|
||||
)
|
||||
|
||||
func init() {
|
||||
EnableRedis = true
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue