mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-03 13:04:08 +02:00
Fixed #209
This commit is contained in:
1 parent
688ec6ecbd
commit
2f820e01d8
4 files changed
+31
-23
No files matched your search
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user