[gthumb] file list: reduce the number of thumbnail loaders



commit 4308e33b52264aae3cb4f91874c86fc67c346519
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Wed Jun 16 21:08:24 2021 +0200

    file list: reduce the number of thumbnail loaders

 gthumb/gth-file-list.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gthumb/gth-file-list.c b/gthumb/gth-file-list.c
index ba8b9f62..02e21790 100644
--- a/gthumb/gth-file-list.c
+++ b/gthumb/gth-file-list.c
@@ -357,7 +357,7 @@ gth_file_list_class_init (GthFileListClass *class)
 static int
 _get_max_loaders (void)
 {
-       int n = (int) g_get_num_processors () - 1;
+       int n = (int) g_get_num_processors () - 2;
        return CLAMP (n, 1, MAX_THUMBNAIL_LOADERS);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]