reduce default maxtagdepth to 6
authorIan Beckwith <ianb@erislabs.net>
Sat, 23 Oct 2010 19:52:50 +0000 (20:52 +0100)
committerIan Beckwith <ianb@erislabs.net>
Sat, 23 Oct 2010 19:52:50 +0000 (20:52 +0100)
lib/ID3FS/Fuse.pm
sbin/id3fsd

index 94e935f..b6a5611 100644 (file)
@@ -24,7 +24,7 @@ use Cwd;
 use POSIX qw(EINVAL EROFS ENOENT EOPNOTSUPP S_IRUSR S_IRGRP S_IROTH S_IXUSR S_IXGRP S_IXOTH);
 
 our ($TYPE_DIR, $TYPE_SYMLINK)=(0040, 0120);
-our $DEFAULT_MAXTAGDEPTH = 10;
+our $DEFAULT_MAXTAGDEPTH = 6;
 
 sub new
 {
index f4f766d..9333c78 100755 (executable)
@@ -71,7 +71,7 @@ $fuse->run();
 sub usage
 {
     die("Usage: $me [-vh] [-f <dbfile>] [-t <tagdepth>] [--] <sourcedir> <mountpoint>\n".
-       " -t|--tagdepth=NUM\tMaximum number of tags in expression (default: 10)\n" .
+       " -t|--tagdepth=NUM\tMaximum number of tags in expression (default: 6)\n" .
        " -f|--database=FILE\tPath to database file\n" .
        " -v\t\t\tVerbose (repeat for more verbosity)\n".
        " -h\t\t\tThis help\n".
@@ -140,7 +140,7 @@ Directory to mount the id3fs view of the files.
 Maximum number of tags in an expression. A query with many ANDs and
 NOTs can get quite slow. This option allows a cutoff before things get
 too slow, as well as providing some eventual limit when processes
-recurse into the filesystem. The default is 10.
+recurse into the filesystem. The default is 6.
 
 =item S<B<-f >I<FILE>> | S<B<--database=>I<FILE>>