Commit 417ea60b authored by yanzg's avatar yanzg

将源码打包进jar包

parent d2a9d54a
......@@ -65,7 +65,8 @@ public class Timeout<T> {
if (maxTime >= time) {
return false;
}
long prevTime = now - prev;
long prevMax = Math.max(prev, start + maxTime);
long prevTime = now - prevMax;
try {
return prevMaxTime > prevTime;
} finally {
......
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