Skip to content
This repository was archived by the owner on Sep 20, 2018. It is now read-only.

Commit 19a1e95

Browse files
committed
update
1 parent d59f6a6 commit 19a1e95

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ public/vendor/
66
node_modules/
77
rsm.db
88
npm-debug.log
9+
.vscode/

monitor/sentinel.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -33,28 +33,28 @@ var updateSentinelStatus = function (sentinel_addr, status, callback) {
3333
status,
3434
callback
3535
);
36-
}
36+
};
3737

3838
var saveClusterPart = function (partData, partName) {
3939
partData = JSON.stringify(partData);
4040
var masterName = config.master_name;
4141
var sql = StdUtil.format('UPDATE `cluster_info` SET `%s`=? WHERE `master_name`=?', partName);
4242
db.run(sql, partData, masterName);
43-
}
43+
};
4444

4545
var addNewConnectedClient = function (server, clientNum) {
4646
db.run('INSERT INTO `connected_client` (`server`, `client_num`) VALUES (?, ?)',
4747
server, clientNum);
48-
}
48+
};
4949

5050
var addNewUsedMemory = function (server, usedMemory) {
5151
db.run('INSERT INTO `used_memory` (`server`, `used_memory`) VALUES (?, ?)',
5252
server, usedMemory);
53-
}
53+
};
5454

5555
var addNewCMDPS = function (server, cmd_ps) {
5656
db.run('INSERT INTO `cmd_ps` (`server`, `cmd_ps`) VALUES (?, ?)', server, cmd_ps);
57-
}
57+
};
5858

5959

6060

0 commit comments

Comments
 (0)