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);
|
||||
msearchM.Probe();
|
||||
mutexM.Lock();
|
||||
serversM.Cleanup(eProbeIntervalMs * 2);
|
||||
serversM.Cleanup(eCleanupTimeoutMs);
|
||||
mutexM.Unlock();
|
||||
}
|
||||
mutexM.Lock();
|
||||
|
@ -40,10 +40,11 @@ class cSatipDiscoverServers : public cList<cSatipDiscoverServer> {
|
||||
class cSatipDiscover : public cThread, public cSatipDiscoverIf {
|
||||
private:
|
||||
enum {
|
||||
eSleepTimeoutMs = 500, // in milliseconds
|
||||
eConnectTimeoutMs = 1500, // in milliseconds
|
||||
eProbeTimeoutMs = 2000, // in milliseconds
|
||||
eProbeIntervalMs = 60000 // in milliseconds
|
||||
eSleepTimeoutMs = 500, // in milliseconds
|
||||
eConnectTimeoutMs = 1500, // in milliseconds
|
||||
eProbeTimeoutMs = 2000, // in milliseconds
|
||||
eProbeIntervalMs = 60000, // in milliseconds
|
||||
eCleanupTimeoutMs = 124000 // in milliseoonds
|
||||
};
|
||||
static cSatipDiscover *instanceS;
|
||||
static size_t DataCallback(char *ptrP, size_t sizeP, size_t nmembP, void *dataP);
|
||||
|
Loading…
Reference in New Issue
Block a user