Introduced retries for timeout on do_associatons
do_introspect already has retry mechanism in place for busy workloads
at early stages of system boot. This change introduces exactly the same
handling for next step of ObjectMapper flow - getting Associations.
During performance tests with spawning multiple sensors I was able to
observe errors due to timeouted do_associations call.
Copying retry behavior from do_introspect allowed me to spawn
successfully 4000 sensors in the system (1500 without this change).
Signed-off-by: Adrian Ambrożewicz <adrian.ambrozewicz@intel.com>
Change-Id: I2c6c8b8b6b96186e0f49cf8b91c185a9c928c337
1 file changed