From 4470735437f7db3e1e83d69ab9d3fecc7d569ebd Mon Sep 17 00:00:00 2001 From: echel0n Date: Thu, 17 Jul 2014 23:21:11 -0700 Subject: [PATCH] Added 10 second timeout for anidb thread for restarts/shutdowns --- sickbeard/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sickbeard/__init__.py b/sickbeard/__init__.py index 8568b136..d5e9fe7c 100644 --- a/sickbeard/__init__.py +++ b/sickbeard/__init__.py @@ -1258,10 +1258,10 @@ def halt(): pass if ADBA_CONNECTION: - ADBA_CONNECTION.logout(True) + ADBA_CONNECTION.logout() logger.log(u"Waiting for the ANIDB CONNECTION thread to exit") try: - ADBA_CONNECTION.join() + ADBA_CONNECTION.join(10) except: pass