From: Jaroslav Kysela Date: Fri, 14 Dec 2018 10:28:32 +0000 (+0100) Subject: tvh thread: remove wrong commit code X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e61b126ef5b75dca7b0a0f0a0575d650a5c400e6;p=thirdparty%2Ftvheadend.git tvh thread: remove wrong commit code --- diff --git a/src/tvh_thread.c b/src/tvh_thread.c index a24559c2f..7840400f7 100644 --- a/src/tvh_thread.c +++ b/src/tvh_thread.c @@ -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__); }