Refactor import_authorized_keys() function for performance
The main change is to fetch all of the relation_data() at once, and then
iterate through the python dictionary. This speeds up processing of
potentially hundreds of hosts and authorized_keys.
https:/ /review. opendev. org/#/c/ 666374/ -- in nova-compute charm
Refactor import_ authorized_ keys() function for performance
The main change is to fetch all of the relation_data() at once, and then
iterate through the python dictionary. This speeds up processing of
potentially hundreds of hosts and authorized_keys.
Change-Id: I095104f535c1ea e1554f842502ae9 3ebb92e44fe
Related-Bug: #1833420