]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
tvh thread: remove wrong commit code
authorJaroslav Kysela <perex@perex.cz>
Fri, 14 Dec 2018 10:28:32 +0000 (11:28 +0100)
committerJaroslav Kysela <perex@perex.cz>
Fri, 14 Dec 2018 10:28:32 +0000 (11:28 +0100)
src/tvh_thread.c

index a24559c2fe6fc3526bae5684e57aa64d73716115..7840400f7600718136e749579ab632a1671f6fb6 100644 (file)
@@ -500,7 +500,7 @@ static void *tvh_thread_watch_thread(void *aux)
     pthread_mutex_lock(&thrwatch_mutex);
     now = getfastmonoclock();
     mutex = TAILQ_LAST(&thrwatch_mutexes, tvh_mutex_queue);
-    if (mutex && mutex->tstamp + sec2mono(55) < now) {
+    if (mutex && mutex->tstamp + sec2mono(5) < now) {
       pthread_mutex_unlock(&thrwatch_mutex);
       tvh_thread_mutex_failed(mutex, "deadlock", __FILE__, __LINE__);
     }