Fix log format in HashedWheelTimer (#9507)
Motivation: log message did not correctly use `{}` Modification: replace `%d` by `{}` Result: The log is correct.
This commit is contained in:
parent
da2aba5742
commit
1a22c126be
@ -271,8 +271,8 @@ public class HashedWheelTimer implements Timer {
|
||||
|
||||
if (duration < MILLISECOND_NANOS) {
|
||||
if (logger.isWarnEnabled()) {
|
||||
logger.warn("Configured tickDuration %d smaller then %d, using 1ms.",
|
||||
tickDuration, MILLISECOND_NANOS);
|
||||
logger.warn("Configured tickDuration {} smaller then {}, using 1ms.",
|
||||
tickDuration, MILLISECOND_NANOS);
|
||||
}
|
||||
this.tickDuration = MILLISECOND_NANOS;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user