[gnome-music] albumart: drop thread after 30 seconds
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] albumart: drop thread after 30 seconds
- Date: Wed, 5 Aug 2015 12:35:21 +0000 (UTC)
commit fb9c66409869fe0247949519d5ac2c9eb6ef1b4a
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Wed Aug 5 14:35:12 2015 +0200
albumart: drop thread after 30 seconds
gnomemusic/albumArtCache.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/albumArtCache.py b/gnomemusic/albumArtCache.py
index e93cf42..f87cc1a 100644
--- a/gnomemusic/albumArtCache.py
+++ b/gnomemusic/albumArtCache.py
@@ -132,7 +132,7 @@ class AlbumArtCache(GObject.GObject):
item = THREAD_QUEUE[id]
item.setDaemon(True)
item.start()
- item.join()
+ item.join(30)
except Exception as e:
logger.warn("worker item %s: error %s", item, str(e))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]