Skip to content

Commit

Permalink
saving work
Browse files Browse the repository at this point in the history
  • Loading branch information
pallavi2209 committed Jun 30, 2017
1 parent a23e3c4 commit fb82b81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion realtime/setupSocketIO.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ function init(io, redisStore) {
redisClient.getAsync(perspKey)
.then((numOfConn) => {
if (numOfConn <= ONE) { // delete namespace and redis entry
redisClient.delAsync(perspKey)
return redisClient.delAsync(perspKey)
.then(() => perspective.findOne({ where: { name: perspName } }))
.then((perspObj) => {
if (perspObj) {
Expand Down

0 comments on commit fb82b81

Please sign in to comment.