[tracker/tracker-1.2] libtracker-miner: Set inotify limits for 'GInotifyFileBackend' too
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-1.2] libtracker-miner: Set inotify limits for 'GInotifyFileBackend' too
- Date: Tue, 19 Jan 2016 01:21:12 +0000 (UTC)
commit 5dccbbece1b1cfc905c5df7c83feab54a32a8e1c
Author: Iain Lane <iain orangesquash org uk>
Date: Tue May 12 14:48:32 2015 +0100
libtracker-miner: Set inotify limits for 'GInotifyFileBackend' too
As of GLib 2.45.1, the inotify monitor backend is called this.
src/libtracker-miner/tracker-monitor.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-monitor.c b/src/libtracker-miner/tracker-monitor.c
index 327882f..b0a47cf 100644
--- a/src/libtracker-miner/tracker-monitor.c
+++ b/src/libtracker-miner/tracker-monitor.c
@@ -281,7 +281,8 @@ tracker_monitor_init (TrackerMonitor *object)
name = g_type_name (priv->monitor_backend);
/* Set limits based on backend... */
- if (strcmp (name, "GInotifyDirectoryMonitor") == 0) {
+ if (strcmp (name, "GInotifyDirectoryMonitor") == 0 ||
+ strcmp (name, "GInotifyFileMonitor") == 0) {
/* Using inotify */
g_message ("Monitor backend is Inotify");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]