Make RMC maxRqstAttempts variable configurable
maxRqstAttempts
is hardcoded in RmcProxy.hpp
and Constants.hpp
:
RmcProxy(
const unsigned short rmcPort = RMC_PORT,
const int netTimeout = RMC_NET_TIMEOUT,
const unsigned int maxRqstAttempts = RMC_MAX_RQST_ATTEMPTS);
/**
* The maximum number of attempts a retriable RMC request should be issued.
*/
const int RMC_MAX_RQST_ATTEMPTS = 10;
There was the question from community if it can be modified.