refactor(network): better network disconnection

This commit is contained in:
Alex
2019-02-11 19:06:39 +01:00
parent aeec80f375
commit d0370acb21
2 changed files with 7 additions and 8 deletions

View File

@ -20,7 +20,7 @@ class Network : public ALabel {
~Network();
auto update() -> void;
private:
static const uint8_t MAX_RETRY = 10;
static const uint8_t MAX_RETRY = 5;
static int handleEvents(struct nl_msg*, void*);
static int handleScan(struct nl_msg*, void*);