X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fetc%2Fupgrade%2Fshrink_transactions_table.pl;h=0d0287f340686cdce8cf59853a88b8b0a3510f82;hb=d05d7346bb2387fd9d0354923d577275c5c7f019;hp=c23d091880ab36e15cdca446b97ea6eb7c5f7eb4;hpb=a6fe07e49e3fc12169e801b1ed6874c3a5bd8500;p=freeside.git diff --git a/rt/etc/upgrade/shrink_transactions_table.pl b/rt/etc/upgrade/shrink_transactions_table.pl index c23d09188..0d0287f34 100644 --- a/rt/etc/upgrade/shrink_transactions_table.pl +++ b/rt/etc/upgrade/shrink_transactions_table.pl @@ -3,7 +3,7 @@ # # COPYRIGHT: # -# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -106,7 +106,7 @@ while ( my $rec = FetchNext( $txns ) ) { $RT::Handle->Commit; } -use constant PAGE_SIZE => 1000; +use constant PAGE_SIZE => 10000; sub FetchNext { my ($objs, $init) = @_; if ( $init ) {