Commit 4a79ae0a authored by nanahira's avatar nanahira

fix kick

parent d2f34a41
Pipeline #5175 failed with stages
in 27 minutes and 35 seconds
......@@ -1319,7 +1319,7 @@ getSeedTimet = global.getSeedTimet = (count) ->
while !curTime or _.any(ret, (time) ->
return time == curTime.unix()
)
curTime = moment_now
curTime = moment()
offset = Math.floor(Math.random() * 240) - 120
if offset > 0
curTime = curTime.add(offset, "s")
......
......@@ -1727,7 +1727,7 @@
while (!curTime || _.any(ret, function(time) {
return time === curTime.unix();
})) {
curTime = moment_now;
curTime = moment();
offset = Math.floor(Math.random() * 240) - 120;
if (offset > 0) {
curTime = curTime.add(offset, "s");
......
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