With the current implementation, mgmt_files are read at once.
Unnecessary reads occur when only few fields of DeviceInfo are needed.
Moreover, the existence of unstable channels can unintentionally affect the system.
How about not reading anything during initialization, and reading values when needed?
With the current implementation,
mgmt_files
are read at once. Unnecessary reads occur when only few fields of DeviceInfo are needed. Moreover, the existence of unstable channels can unintentionally affect the system.How about not reading anything during initialization, and reading values when needed?