Increase retries times on ObjectPathInUse exception
In get_object_async() when calling ObjectMapper.GetObject(),
ObjectPathInUse exception may raise and it will retry.
Previously it retries for 5 times with 1000ms interval, it sometimes
cause get_object_async() raise this exception and system_manager
will not enter BMC_READY state.
This workaround increases the retry times to 20 and reduce the
interval to 500ms, so far the issue is not reproduced.
Partially fix openbmc/openbmc#862
Change-Id: Icaccc31c896e52b1c056007dff5c72d213bb7fa8
Signed-off-by: Lei YU <mine260309@gmail.com>
1 file changed