1
0
mirror of https://github.com/astaxie/beego.git synced 2025-06-11 14:30:40 +00:00

modify travis and redis_sentinel test

This commit is contained in:
JessonChan
2019-01-22 19:29:53 +08:00
parent 2956d33bab
commit 00264650b5
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ func TestRedisSentinel(t *testing.T) {
Maxlifetime: 3600,
Secure: false,
CookieLifeTime: 3600,
ProviderConfig: "119.23.132.234:26379,100,,0,master",
ProviderConfig: "127.0.0.1:26379,100,,0,master",
}
globalSessions, _ := session.NewManager("redis_sentinel", sessionConfig)
go globalSessions.GC()