X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fetc%2Fupgrade%2Fshrink_cgm_table.pl;h=bb6c8d487e243b0f41a5df9a0bf6acbf823b861e;hb=9c78a52fcd35d7d0c39a4798d583ca4d7b20fd73;hp=cf39d04d7a2e3cc52c0af1142107a2fbe4f27e21;hpb=f3c4966ed1f6ec3db7accd6dcdd3a5a3821d72a7;p=freeside.git diff --git a/rt/etc/upgrade/shrink_cgm_table.pl b/rt/etc/upgrade/shrink_cgm_table.pl index cf39d04d7..bb6c8d487 100644 --- a/rt/etc/upgrade/shrink_cgm_table.pl +++ b/rt/etc/upgrade/shrink_cgm_table.pl @@ -3,7 +3,7 @@ # # COPYRIGHT: # -# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2013 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -106,7 +106,7 @@ while ( my $rec = FetchNext( $cgms ) ) { $RT::Handle->Commit; } -use constant PAGE_SIZE => 1000; +use constant PAGE_SIZE => 10000; sub FetchNext { my ($objs, $init) = @_; if ( $init ) {