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
tree: dace816039a76078fe57989e587cd7e01e8edffb
  1. libmapper/
  2. obmc/
  3. .gitignore
  4. bootstrap.sh
  5. configure.ac
  6. LICENSE
  7. Makefile.am
  8. phosphor-mapper
  9. README.md
  10. setup.py.in
README.md

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To full clean the repository again run `./bootstrap.sh clean`.