|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
Tuning parameters for ReconnectCoordinator. More...
#include <reconnect_coordinator.hpp>
Public Attributes | |
| int | maxAttempts = 10 |
| Max reconnect attempts per onOnline() call before giving up. | |
| std::chrono::milliseconds | retryDelay = std::chrono::seconds{2} |
| Delay between failed reconnect attempts. | |
Tuning parameters for ReconnectCoordinator.
Declared outside the class so its default member initialisers are fully parsed before any constructor default argument names Config{}. (A nested incomplete type breaks constructor default arguments on clang/GCC — see the same note on NetworkMonitorConfig.)
Definition at line 61 of file reconnect_coordinator.hpp.
| int morph::offline::ReconnectCoordinatorConfig::maxAttempts = 10 |
Max reconnect attempts per onOnline() call before giving up.
Definition at line 63 of file reconnect_coordinator.hpp.
| std::chrono::milliseconds morph::offline::ReconnectCoordinatorConfig::retryDelay = std::chrono::seconds{2} |
Delay between failed reconnect attempts.
Definition at line 66 of file reconnect_coordinator.hpp.