1
0

Optimized right checking

+ list.ReadAll now really gets all lists
This commit is contained in:
konrad
2018-07-12 21:07:59 +02:00
committed by kolaente
parent bae9c7f35e
commit 32fde286db
5 changed files with 179 additions and 129 deletions

View File

@ -51,8 +51,8 @@ func SetEngine() (err error) {
}
// Cache
cacher := xorm.NewLRUCacher(xorm.NewMemoryStore(), 1000)
x.SetDefaultCacher(cacher)
//cacher := xorm.NewLRUCacher(xorm.NewMemoryStore(), 1000)
//x.SetDefaultCacher(cacher)
x.SetMapper(core.GonicMapper{})