Skip to content

Commit 6ae5ef8

Browse files
committed
nemo-thumbnails.c: Use the default idle priority for starting the
thumbnail thread. The low priority has a chance of being preempted for an extended period of time, and there's no reason to allow that to happen.
1 parent 323d0f0 commit 6ae5ef8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libnemo-private/nemo-thumbnails.c

+3-1
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,9 @@ nemo_create_thumbnail (NemoFile *file, gint throttle_count)
683683

684684
if (thumbnail_thread_is_running == FALSE &&
685685
thumbnail_thread_starter_id == 0) {
686-
thumbnail_thread_starter_id = g_idle_add_full (G_PRIORITY_LOW, thumbnail_thread_starter_cb, NULL, NULL);
686+
thumbnail_thread_starter_id = g_idle_add_full (G_PRIORITY_DEFAULT_IDLE,
687+
thumbnail_thread_starter_cb,
688+
NULL, NULL);
687689
}
688690
} else {
689691
if (DEBUGGING) {

0 commit comments

Comments
 (0)