Skip to content

Commit

Permalink
fix @13
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbradley committed Feb 21, 2017
1 parent f156cab commit 047e67b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/controller/RedisManager.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import RedisClient from "../model/RedisClient";
import {IConfig, AppConfig} from '../Config';

/**
* Provides access to the redis client via the singleton.
Expand All @@ -18,7 +19,9 @@ class RedisSingleton {


private constructor() {
this._client = new RedisClient(6389);
let config: IConfig = new AppConfig();
let redis = config.getRedisAddress();
this._client = new RedisClient({port:+redis.port});
}


Expand Down

0 comments on commit 047e67b

Please sign in to comment.