This commit is contained in:
Guoqs
2024-05-28 10:51:18 +08:00
parent eee291d4c0
commit 2fdca99608
2 changed files with 1 additions and 3 deletions

View File

@@ -112,7 +112,6 @@ public class IdUtils {
while (id > 100000000000L) {
id /= 10;
}
// Integer num = Integer.parseInt(id + "");
return String.valueOf(id);
}

View File

@@ -230,8 +230,7 @@ public class SnowflakeIdWorker {
}).start();
}
Thread.sleep(3000);
log.info("map.size():{}", map.size());
log.info("耗时:" + (System.currentTimeMillis() - beginTime));
log.info("map.size():{}, 耗时:{}", map.size(), (System.currentTimeMillis() - beginTime));
}
}