mirror of
https://github.com/rofafor/vdr-plugin-satip.git
synced 2023-10-10 13:37:42 +02:00
Relaxed the server cleanup timeout.
This commit is contained in:
parent
fbf7977853
commit
bd6774ba28
@ -142,7 +142,7 @@ void cSatipDiscover::Action(void)
|
|||||||
probeIntervalM.Set(eProbeIntervalMs);
|
probeIntervalM.Set(eProbeIntervalMs);
|
||||||
msearchM.Probe();
|
msearchM.Probe();
|
||||||
mutexM.Lock();
|
mutexM.Lock();
|
||||||
serversM.Cleanup(eProbeIntervalMs * 2);
|
serversM.Cleanup(eCleanupTimeoutMs);
|
||||||
mutexM.Unlock();
|
mutexM.Unlock();
|
||||||
}
|
}
|
||||||
mutexM.Lock();
|
mutexM.Lock();
|
||||||
|
@ -43,7 +43,8 @@ private:
|
|||||||
eSleepTimeoutMs = 500, // in milliseconds
|
eSleepTimeoutMs = 500, // in milliseconds
|
||||||
eConnectTimeoutMs = 1500, // in milliseconds
|
eConnectTimeoutMs = 1500, // in milliseconds
|
||||||
eProbeTimeoutMs = 2000, // in milliseconds
|
eProbeTimeoutMs = 2000, // in milliseconds
|
||||||
eProbeIntervalMs = 60000 // in milliseconds
|
eProbeIntervalMs = 60000, // in milliseconds
|
||||||
|
eCleanupTimeoutMs = 124000 // in milliseoonds
|
||||||
};
|
};
|
||||||
static cSatipDiscover *instanceS;
|
static cSatipDiscover *instanceS;
|
||||||
static size_t DataCallback(char *ptrP, size_t sizeP, size_t nmembP, void *dataP);
|
static size_t DataCallback(char *ptrP, size_t sizeP, size_t nmembP, void *dataP);
|
||||||
|
Loading…
Reference in New Issue
Block a user