Commit 8312b1cd by ken

试试看

parent 4d6bd4e9
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"description": "", "description": "",
"main": "zb.js", "main": "zb.js",
"scripts": { "scripts": {
"zb": "export http_proxy='http://localhost:8118';export https_proxy='http://localhost:8118';export wss_proxy='http://localhost:8118';export ws_proxy='http://localhost:8118';node $NODE_DEBUG_OPTION zb.js", "zb": "node $NODE_DEBUG_OPTION zb.js",
"testSpeed": "node $NODE_DEBUG_OPTION testSpeed.js" "testSpeed": "node $NODE_DEBUG_OPTION testSpeed.js"
}, },
"author": "", "author": "",
......
...@@ -99,6 +99,7 @@ function subscribe() { ...@@ -99,6 +99,7 @@ function subscribe() {
redisClient.hset("balance", "zb", JSON.stringify(balances)); redisClient.hset("balance", "zb", JSON.stringify(balances));
} catch (e) { } catch (e) {
redisClient.hset("balance", "zb", JSON.stringify({})); redisClient.hset("balance", "zb", JSON.stringify({}));
console.error(data);
} }
} else { } else {
const depth = data; const depth = data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment