[Rt-commit] rt branch, 4.4/external-storage, updated. rt-4.2.11-83-g62a8193

Shawn Moore shawn at bestpractical.com
Thu Jun 4 17:03:55 EDT 2015


The branch, 4.4/external-storage has been updated
       via  62a819308f770cc4bef302d80ed62ed7c0769459 (commit)
      from  017246bcbd5a425b0c4be5062338f9bdaffb358a (commit)

Summary of changes:
 etc/RT_Config.pm.in | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

- Log -----------------------------------------------------------------
commit 62a819308f770cc4bef302d80ed62ed7c0769459
Author: Shawn M Moore <shawn at bestpractical.com>
Date:   Thu Jun 4 21:02:35 2015 +0000

    Use 10_000_000 for ExternalStorageCutoffSize
    
        This matches the default value of MaxAttachmentSize

diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
index 4ef0a6f..46b973d 100644
--- a/etc/RT_Config.pm.in
+++ b/etc/RT_Config.pm.in
@@ -2560,19 +2560,18 @@ Set(%ExternalStorage, ());
 =item C<$ExternalStorageCutoffSize>
 
 Certain object types, like values for Binary (aka file upload) custom
-fields, are always put into external storage. However, for other object
-types, like images and text, there is a line in the sand where you want
-small objects in the database but large objects in external storage. By
-default, objects larger than 10 MiB (10*1024*1024 bytes) will be put
-into external storage. C<$ExternalStorageCutoffSize> adjusts that line
-in the sand.
+fields, are always put into external storage. However, for other
+object types, like images and text, there is a line in the sand where
+you want small objects in the database but large objects in external
+storage. By default, objects larger than 10 MB will be put into external
+storage. C<$ExternalStorageCutoffSize> adjusts that line in the sand.
 
 Note that changing this setting does not affect existing attachments, only
 the new ones that C<sbin/rt-externalize-attachments> hasn't seen yet.
 
 =cut
 
-Set($ExternalStorageCutoffSize, 10*1024*1024);
+Set($ExternalStorageCutoffSize, 10_000_000);
 
 =item C<$ExternalStorageDirectLink>
 

-----------------------------------------------------------------------


More information about the rt-commit mailing list