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:
@ -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()
|
||||
|
Reference in New Issue
Block a user