[tracker-miners/wip/carlosg/stats-logging: 2/3] libtracker-miner: Drop unused stats counter




commit f990be9e81c41b9aaa186e350efbd61d83b58891
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Aug 6 17:10:52 2022 +0200

    libtracker-miner: Drop unused stats counter
    
    Files are not "notified" anymore anywhere, so this counter is always 0.

 src/libtracker-miner/tracker-miner-fs.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index 048a31554..164391b39 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -161,7 +161,6 @@ struct _TrackerMinerFSPrivate {
 
        /* How many we indexed and how many had errors indexing. */
        guint total_files_processed;
-       guint total_files_notified;
        guint total_files_notified_error;
 };
 
@@ -926,9 +925,8 @@ log_stats (TrackerMinerFS *fs)
                        g_info ("Total files       : %d (%d ignored)",
                                fs->priv->total_files_found,
                                fs->priv->total_files_ignored);
-                       g_info ("Total processed   : %d (%d notified, %d with error)",
+                       g_info ("Changes processed : %d (%d errors)",
                                fs->priv->total_files_processed,
-                               fs->priv->total_files_notified,
                                fs->priv->total_files_notified_error);
                        g_info ("--------------------------------------------------\n");
                }


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