baerwang commented on code in PR #1973:
URL: https://github.com/apache/dubbo-go/pull/1973#discussion_r924013804


##########
config/graceful_shutdown_config.go:
##########
@@ -66,12 +67,16 @@ type ShutdownConfig struct {
        RejectRequestHandler string `yaml:"reject-handler" 
json:"reject-handler,omitempty" property:"reject_handler"`
        // internal listen kill signal,the default is true.
        InternalSignal bool `default:"true" yaml:"internal-signal" 
json:"internal.signal,omitempty" property:"internal.signal"`
-
+       // offline request window length
+       OfflineRequestWindowTimeout string `default:"" 
yaml:"offline-request-window-timeout" 
json:"offlineRequestWindowTimeout,omitempty" 
property:"offlineRequestWindowTimeout"`

Review Comment:
   该字段没填充默认就是空字符串,不需要设置default



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to