fix count of sync

This commit is contained in:
Andrei Yankovich 2018-08-16 22:29:25 +03:00
parent deada49ea8
commit 72aaf5e065
2 changed files with 1 additions and 2 deletions

View File

@ -115,7 +115,6 @@ bool ETcpSocket::_driverResponse(const SyncPackage& from) {
auto ping = from.getPing();
if (ping > 10) {
sync();
return false;
}

View File

@ -25,7 +25,7 @@
#define RESYNC_TIME 1000 // 1 sec on millisec
#define MAX_RESYNC_COUNT 3
#define SYNC_TIME 5 * 1000 // 5 sec on millisec
#define SYNC_COUNT 10
#define SYNC_COUNT 100
#define DEEP_SCANER_INTERVAL 1000 // 1 sec
// sync