New config.NewDefaultConfig() function
What does this MR do and why?
This MR creates a new config.NewDefaultConfig()
function and handles filling and returning a *config.Config
with defaults, in a central place. It was extracted from Draft: Allow zip metadata reader limit to be co... (!141451 - closed) and will help Allow default zip metadata reader limit to be c... (!141581 - merged).
It will assist subsequent MRs that need this change.
Edited by Ash McKenzie