Commit ada90267 by 蒋勇

d

parent c023532c
......@@ -43,6 +43,7 @@ class MonitorTask extends TaskBase {
} else {
this.sendDing(taskName + ":任务名不符合监控格式")
this.redisClient.hdel("taskuptime", taskName)
}
}
......
......@@ -113,6 +113,9 @@ class RedisClient {
async delete (key) {
return this.client.delAsync(key);
}
async hdel (key, field) {
return this.client.hdelAsync(key, field);
}
async hmset (key, jsonObj) {
return this.client.hmsetAsync(key, jsonObj);
}
......
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