Improve java doc for MINIMAL_WAIT (#9779)
Motivation: MINIMAL_WAIT is the key constant. Thus, When we see the constant, we must read more code logic to see if it is ms or ns. So improving java doc will be better. Modifications: Improve java doc by add "10ms" such as DEFAULT_CHECK_INTERVAL with "1s". Result: Easy to know it is ms and keep same java doc style with other constants such as DEFAULT_CHECK_INTERVAL.
This commit is contained in:
parent
a1f9d50174
commit
920fab6e33
@ -67,7 +67,7 @@ public abstract class AbstractTrafficShapingHandler extends ChannelDuplexHandler
|
||||
static final long DEFAULT_MAX_SIZE = 4 * 1024 * 1024L;
|
||||
|
||||
/**
|
||||
* Default minimal time to wait
|
||||
* Default minimal time to wait: 10ms
|
||||
*/
|
||||
static final long MINIMAL_WAIT = 10;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user