[Rt-commit] rt branch, 4.2/max-fulltext-attachment-size, repushed
Jim Brandt
jbrandt at bestpractical.com
Tue Feb 16 16:51:41 EST 2016
The branch 4.2/max-fulltext-attachment-size was deleted and repushed:
was e59b58660c5e0c8a371375e76da208eacf890d97
now c7245e49ccf1889f169c43b57328085931258255
1: e59b586 ! 1: c7245e4 Add max attachment size option for indexer
@@ -50,15 +50,15 @@
If C<$DontSearchFileAttachments> is set to 1, then uploaded files
diff --git a/sbin/rt-fulltext-indexer.in b/sbin/rt-fulltext-indexer.in
+old mode 100644
+new mode 100755
--- a/sbin/rt-fulltext-indexer.in
+++ b/sbin/rt-fulltext-indexer.in
@@
}
}
-+my $max_size = 0; # No max size
-+$max_size = RT->Config->Get('MaxFulltextAttachmentSize')
-+ if RT->Config->Get('MaxFulltextAttachmentSize');
++my $max_size = RT->Config->Get('MaxFulltextAttachmentSize');
+
my $db_type = RT->Config->Get('DatabaseType');
my $fts_config = $ENV{RT_FTS_CONFIG} ? JSON::from_json($ENV{RT_FTS_CONFIG})
More information about the rt-commit
mailing list