Commit fe3740d1 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Remove Unconfigure as we do not use it.

parent a3f55799
...@@ -135,10 +135,6 @@ func Configure(cfg *config.RedisConfig, dialFunc func() (redis.Conn, error)) { ...@@ -135,10 +135,6 @@ func Configure(cfg *config.RedisConfig, dialFunc func() (redis.Conn, error)) {
} }
} }
func Unconfigure() {
pool = nil
}
// Get a connection for the Redis-pool // Get a connection for the Redis-pool
func Get() redis.Conn { func Get() redis.Conn {
if pool != nil { if pool != nil {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment