]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
tvh thread: increase the default watchdog timeout to 15 seconds
authorJaroslav Kysela <perex@perex.cz>
Sat, 2 Mar 2019 20:23:37 +0000 (21:23 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sat, 2 Mar 2019 20:27:38 +0000 (21:27 +0100)
src/tvh_thread.c

index d942fbda49701608cac598751849a60481a6ef97..70cfcb69dabd7dbe674dbecba47f37e05166e5cb 100644 (file)
@@ -501,7 +501,7 @@ static void *tvh_thread_watch_thread(void *aux)
   const char *s;
 
   s = getenv("TVHEADEND_THREAD_WATCH_LIMIT");
-  limit = s ? atol(s) : 5;
+  limit = s ? atol(s) : 15;
   limit = MINMAX(limit, 5, 120);
   while (!atomic_get(&tvhwatch_done)) {
     pthread_mutex_lock(&thrwatch_mutex);