mirror of
https://github.com/QuasarApp/SoundBand.git
synced 2025-04-26 15:24:31 +00:00
fix count of sync
This commit is contained in:
parent
deada49ea8
commit
72aaf5e065
@ -115,7 +115,6 @@ bool ETcpSocket::_driverResponse(const SyncPackage& from) {
|
||||
auto ping = from.getPing();
|
||||
|
||||
if (ping > 10) {
|
||||
sync();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user