[maemo-commits] [maemo-commits] r18344 - in projects/haf/trunk/hildon-thumbnail: . daemon

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed May 13 12:10:51 EEST 2009
Author: pvanhoof
Date: 2009-05-13 12:10:44 +0300 (Wed, 13 May 2009)
New Revision: 18344

Modified:
   projects/haf/trunk/hildon-thumbnail/ChangeLog
   projects/haf/trunk/hildon-thumbnail/daemon/thumbnailer.c
Log:
2009-05-13  Philip Van Hoof  <pvanhoof at codeminded.be>

        * daemon/thumbnailer.c: Made the large queue one for items > 50
        instead of > 10, fixes Bug# 116353.



Modified: projects/haf/trunk/hildon-thumbnail/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-thumbnail/ChangeLog	2009-05-13 06:44:59 UTC (rev 18343)
+++ projects/haf/trunk/hildon-thumbnail/ChangeLog	2009-05-13 09:10:44 UTC (rev 18344)
@@ -1,3 +1,8 @@
+2009-05-13  Philip Van Hoof  <pvanhoof at codeminded.be>
+
+	* daemon/thumbnailer.c: Made the large queue one for items > 50
+	instead of > 10, fixes Bug# 116353.
+
 2009-05-12  Mikael Ottela  <mikael.ottela at ixonos.com>
  
  	* daemon/thumbnailer.c: Fixed Started signal creation to use

Modified: projects/haf/trunk/hildon-thumbnail/daemon/thumbnailer.c
===================================================================
--- projects/haf/trunk/hildon-thumbnail/daemon/thumbnailer.c	2009-05-13 06:44:59 UTC (rev 18343)
+++ projects/haf/trunk/hildon-thumbnail/daemon/thumbnailer.c	2009-05-13 09:10:44 UTC (rev 18344)
@@ -290,7 +290,7 @@
 	g_mutex_lock (priv->mutex);
 	g_list_foreach (priv->tasks, (GFunc) mark_unqueued, (gpointer) handle_to_unqueue);
 	priv->tasks = g_list_prepend (priv->tasks, task);
-	if (g_strv_length (urls) > 10)
+	if (g_strv_length (urls) > 50)
 		g_thread_pool_push (priv->large_pool, task, NULL);
 	else
 		g_thread_pool_push (priv->normal_pool, task, NULL);


More information about the maemo-commits mailing list