Commit a88ffad6 authored by 赵威's avatar 赵威

update warning time

parent f4e7ec37
......@@ -110,7 +110,7 @@ object Main extends LazyLogging {
logger.info(s"${user.eventCn} ${deviceId}")
val cost = streamTimeBegin - user.sendTimestamp
if (cost > 1500 && cost < 100000) {
if (cost > 1500) {
deviceId == "64695DE0-B926-4188-9C62-D987DC20BEDF"
DingTalk.send(
Map(
......
......@@ -63,7 +63,7 @@ object Redis {
}
client.expire(key, 60 * 60 * 24 * 15)
val total = System.currentTimeMillis - timeBegin
if (total > 1000 && total < 50000) {
if (total > 1500) {
DingTalk.send(
Map(
"method" -> "Redis.save",
......
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