]> arthur.barton.de Git - netatalk.git/commitdiff
Disable manual indexing
authorRalph Boehme <sloowfranklin@gmail.com>
Mon, 1 Jul 2013 13:37:25 +0000 (15:37 +0200)
committerRalph Boehme <sloowfranklin@gmail.com>
Mon, 1 Jul 2013 13:37:25 +0000 (15:37 +0200)
etc/spotlight/slmod_sparql.c

index fd0f984560e7c95403b33001d7b820aeaea4a374..63d1cade73b132763100da27b7a2082474fce08f 100644 (file)
@@ -326,6 +326,15 @@ EC_CLEANUP:
 
 static int sl_mod_index_file(const void *p)
 {
+    /*
+     * This seems to cause index problems on volumes that are watched and indexed
+     * by Tracker, so we disable this extra manual indexing for now.
+     * It's primary pupose was ensuring files created via AFP are indexed on large
+     * volumes where the filesystem event notification engine (eg FAM or FEN) may
+     * impose limits on the maximum number of watched directories.
+     */
+    return 0;
+
 #ifdef HAVE_TRACKER_MINER
     EC_INIT;
     const char *f = p;