fix: QuiggeldyConnection to work across server restarts
* Server restarts can happen at two points in time * before a remote call * during a remote call * in both cases we retry connecting to the server and executing the remote call a configurable number of times with waiting a configurable duration in-between * default is to retry 200 times every 100ms, yielding a maximum recovery time of 20s without connection to server Depends-On: 22604 Change-Id: I01345647556de660b6d51732d0d9e5c5c484ada8
Showing
- include/hxcomm/common/quiggeldy_connection.h 6 additions, 0 deletionsinclude/hxcomm/common/quiggeldy_connection.h
- include/hxcomm/common/quiggeldy_connection.tcc 24 additions, 34 deletionsinclude/hxcomm/common/quiggeldy_connection.tcc
- include/hxcomm/common/quiggeldy_connection_impl.tcc 13 additions, 11 deletionsinclude/hxcomm/common/quiggeldy_connection_impl.tcc
- tests/sw/hxcomm/test-quiggeldy.cpp 53 additions, 0 deletionstests/sw/hxcomm/test-quiggeldy.cpp
Please register or sign in to comment