diff options
author | BoHong Li | 2017-04-13 02:00:27 +0800 |
---|---|---|
committer | Raccoon Li | 2017-05-08 19:29:07 +0800 |
commit | 3919d4fc0e3be1152c1d362572bfbccca86e31da (patch) | |
tree | 3e0202a6a9433eb946cb2e395183fdb006bc319c | |
parent | ecb05336055a37ba8a03c119995cd37d96aad90d (diff) |
fix(app.js): Change config.maintenance to realtime.maintenance
Diffstat (limited to '')
-rw-r--r-- | app.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -229,7 +229,7 @@ process.on('uncaughtException', function (err) { // install exit handler function handleTermSignals () { logger.info('hackmd has been killed by signal, try to exit gracefully...') - config.maintenance = true + realtime.maintenance = true // disconnect all socket.io clients Object.keys(io.sockets.sockets).forEach(function (key) { var socket = io.sockets.sockets[key] |