mirror of
https://github.com/dlang-community/DCD.git
synced 2025-04-25 21:00:02 +03:00
Use more adaptive time formatting because many requests finish in 0 milliseconds
This commit is contained in:
parent
5aba1b1b54
commit
e343e73d33
1 changed files with 2 additions and 2 deletions
|
@ -185,7 +185,7 @@ int runServer(string[] args)
|
|||
|
||||
sw.stop();
|
||||
info(cache.symbolsAllocated, " symbols cached.");
|
||||
info("Startup completed in ", sw.peek().total!"msecs"(), " milliseconds.");
|
||||
info("Startup completed in ", sw.peek);
|
||||
|
||||
// No relative paths
|
||||
version (Posix) chdir("/");
|
||||
|
@ -310,7 +310,7 @@ int runServer(string[] args)
|
|||
}
|
||||
|
||||
sw.stop();
|
||||
info("Request processed in ", sw.peek().total!"msecs"(), " milliseconds");
|
||||
info("Request processed in ", sw.peek);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue