aboutsummaryrefslogtreecommitdiff
path: root/session.go
diff options
context:
space:
mode:
authorKushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com>2021-08-15 13:56:12 -0300
committerKushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com>2021-08-15 13:56:12 -0300
commitad30def5420185dfbe2107b1ec972bddc975b358 (patch)
treea5a4d1039dc4d1c5dadc7d19dad23e87bb85464d /session.go
parentb0bb22aa9c9f1d5b2e582e58bf20c6856feb87ec (diff)
redis config
Diffstat (limited to 'session.go')
-rw-r--r--session.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/session.go b/session.go
index 45bf86c..bb6175d 100644
--- a/session.go
+++ b/session.go
@@ -12,7 +12,7 @@ import (
var cache redis.Conn
func InitCache() {
- conn, err := redis.DialURL("redis://localhost")
+ conn, err := redis.DialURL(GetConfigValue("redis"))
if err != nil {
panic(err)
}