mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +00:00
[tvheadend] added connection patch (cwc connection retry)
This commit is contained in:
parent
66b7a737fa
commit
e6294102bd
@ -0,0 +1,14 @@
|
|||||||
|
diff -upr hts-tvheadend-9d775da_orig/src/cwc.c hts-tvheadend-9d775da/src/cwc.c
|
||||||
|
--- hts-tvheadend-9d775da_orig/src/cwc.c 2011-08-22 22:46:01.000000000 +0200
|
||||||
|
+++ hts-tvheadend-9d775da/src/cwc.c 2011-08-22 22:42:29.000000000 +0200
|
||||||
|
@@ -1098,7 +1098,9 @@ cwc_thread(void *aux)
|
||||||
|
continue; // Retry immediately
|
||||||
|
d = 3;
|
||||||
|
} else {
|
||||||
|
- d = 60;
|
||||||
|
+ if(attempts == 1)
|
||||||
|
+ continue; // Retry immediately
|
||||||
|
+ d = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
ts.tv_sec = time(NULL) + d;
|
Loading…
x
Reference in New Issue
Block a user