mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-15 10:15:59 +00:00
perf[net]: 优化StopWatch的打印格式,保留两位小数
This commit is contained in:
1 parent
be3ceab08f
commit
8acaf7eb57
4 files changed
+19
-7
No files matched your search
@@ -90,7 +90,7 @@ public class StorageContext implements ApplicationListener<ApplicationContextEve
|
||||
|
||||
// 移除没有被引用的不必要资源,为了节省服务器内存
|
||||
instance.storageManager.initAfter();
|
||||
logger.info("storage start success and cost [{}] second", stopWatch.costSecond());
|
||||
logger.info("Storage started successfully and cost [{}] seconds", stopWatch.costSeconds());
|
||||
} else if (event instanceof ContextClosedEvent) {
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user