adoroszlai opened a new pull request, #4932:
URL: https://github.com/apache/ozone/pull/4932

   ## What changes were proposed in this pull request?
   
   `ConfigType.TIME` is used for `long` member variables.  To improve type 
safety, several config classes have accessor/mutator that return/accept 
`Duration`.  This results in unnecessary conversions back and forth between 
`Duration` and `long`.
   
   This patch adds support for setting `ConfigType.TIME` on `Duration` field 
directly.
   
   https://issues.apache.org/jira/browse/HDDS-8745
   
   ## How was this patch tested?
   
   CI:
   https://github.com/adoroszlai/hadoop-ozone/actions/runs/5311332863


-- 
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