1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-19 06:40:55 +00:00
Beego/pkg/session/redis_sentinel
Phillip Stagnet ec55edfbc4
Add additional options to redis session prov
Adding option for frequency of checking timed out connections as well as
an option to specify retries.

These changes make redis provider more stable since connection problems
are becoming fewer.

Since redigo does not have this options and since redis_sentinel and
redis_cluster are using go-redis as a client, this commit changes from
redigo to go-redis for redis session provider.

Added tests for redis session provider as well.
2020-08-06 11:14:36 +02:00
..
sess_redis_sentinel_test.go uing pkg module 2020-07-29 14:42:27 +00:00
sess_redis_sentinel.go Add additional options to redis session prov 2020-08-06 11:14:36 +02:00