SolidWallOfCode opened a new pull request, #9485: URL: https://github.com/apache/trafficserver/pull/9485
This brings the unit parser logic into ATS. It provides generic support for parsing strings that have embedded units. Updating the set of units requires only changing the initialization data, making it very easy to add or remove additional units. This commit adds a concrete instantiation that supports time string parsing, so strings such as "1 day 12 hours 30 minutes" is correctly parsed. A primary goal is to stop using default / implied units for time values in configuration, but instead always require units while providing an easy way to specify convenient units. -- 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]
