diff options
author | =Corey Hulen <corey@hulen.com> | 2015-07-14 15:12:04 -0800 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2015-07-14 15:12:04 -0800 |
commit | 246d12aaf23fa3a2c23225b33a333effff76253b (patch) | |
tree | c2a19c301b34391427e60e0e5cfcbf9879a44ee7 /api/server.go | |
parent | a45dea6b06bb62b3fb953d598854c371f417082d (diff) | |
download | chat-246d12aaf23fa3a2c23225b33a333effff76253b.tar.gz chat-246d12aaf23fa3a2c23225b33a333effff76253b.tar.bz2 chat-246d12aaf23fa3a2c23225b33a333effff76253b.zip |
fixes mm-1348 removing dependency on redis
Diffstat (limited to 'api/server.go')
-rw-r--r-- | api/server.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/api/server.go b/api/server.go index 58986a8d4..3163f79f5 100644 --- a/api/server.go +++ b/api/server.go @@ -28,7 +28,6 @@ func NewServer() { Srv = &Server{} Srv.Server = manners.NewServer() Srv.Store = store.NewSqlStore() - store.RedisClient() Srv.Router = mux.NewRouter() Srv.Router.NotFoundHandler = http.HandlerFunc(Handle404) @@ -54,7 +53,7 @@ func StopServer() { Srv.Server.Shutdown <- true Srv.Store.Close() - store.RedisClose() + hub.Stop() l4g.Info("Server stopped") } |