[tracker-miners/wip/carlosg/sandbox-fixes] WIP: disable extractor shutdown
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/carlosg/sandbox-fixes] WIP: disable extractor shutdown
- Date: Sat, 22 Aug 2020 21:59:37 +0000 (UTC)
commit 37ac53a6877257598c5b133ad366515b976339c9
Author: Carlos Garnacho <carlosg gnome org>
Date: Sat Aug 22 18:28:07 2020 +0200
WIP: disable extractor shutdown
src/libtracker-miner/tracker-decorator.c | 4 +++-
src/tracker-extract/tracker-extract.c | 4 ++--
2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-decorator.c b/src/libtracker-miner/tracker-decorator.c
index 685dfaaad..f7e19ed41 100644
--- a/src/libtracker-miner/tracker-decorator.c
+++ b/src/libtracker-miner/tracker-decorator.c
@@ -676,6 +676,8 @@ decorator_count_remaining_items (TrackerDecorator *decorator)
priv = decorator->priv;
+ decorator_update_state (decorator, "Checking unextracted elements", TRUE);
+
if (!priv->item_count_query)
priv->item_count_query = create_prepared_statement (decorator, clauses);
@@ -910,7 +912,7 @@ tracker_decorator_initable_init (GInitable *initable,
G_CALLBACK (notifier_events_cb),
decorator);
- decorator_update_state (decorator, "Idle", FALSE);
+ decorator_update_state (decorator, "Initializing", FALSE);
return TRUE;
}
diff --git a/src/tracker-extract/tracker-extract.c b/src/tracker-extract/tracker-extract.c
index a0195a4c3..14d322114 100644
--- a/src/tracker-extract/tracker-extract.c
+++ b/src/tracker-extract/tracker-extract.c
@@ -496,8 +496,8 @@ get_metadata (TrackerExtractTask *task)
static gpointer
single_thread_get_metadata (GAsyncQueue *queue)
{
- if (!tracker_seccomp_init ())
- g_assert_not_reached ();
+ //if (!tracker_seccomp_init ())
+ // g_assert_not_reached ();
while (TRUE) {
TrackerExtractTask *task;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]