Commit 2f19b40d authored by martin hou's avatar martin hou

fix: 增加日志记录

parent 9cd8e9da
...@@ -184,7 +184,12 @@ function Jensen(log, conn) { ...@@ -184,7 +184,12 @@ function Jensen(log, conn) {
{ {
setTimeout(function() { setTimeout(function() {
let currentTime = new Date().getTime(); let currentTime = new Date().getTime();
if (currentTime - self.wakeupTime < 200) self.onwakeup(); if (currentTime - self.wakeupTime < 200)
{
Logger.info('jensen', 'hibernate', 'wakeup');
self.onwakeup();
}
else Logger.info('jensen', 'hibernate', 'fake wake');
}, 100); }, 100);
self.wakeupTime = now; self.wakeupTime = now;
} }
......
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