[Rt-commit] rt branch, 4.0/remove-unused-cache-configs, created. rt-4.0.22-10-gb8b9c29

Alex Vandiver alexmv at bestpractical.com
Thu Sep 25 13:30:12 EDT 2014


The branch, 4.0/remove-unused-cache-configs has been created
        at  b8b9c297af739339369a50d0a3c9d5fc33497356 (commit)

- Log -----------------------------------------------------------------
commit 68ec098392949e7ef8299cb2172053c8867fc9b6
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Wed Nov 27 16:04:00 2013 -0500

    Correct a comment

diff --git a/lib/RT/Attachment.pm b/lib/RT/Attachment.pm
index af1f82c..6e0acae 100644
--- a/lib/RT/Attachment.pm
+++ b/lib/RT/Attachment.pm
@@ -820,7 +820,7 @@ sub _Value {
     return $self->__Value( $field, @_ );
 }
 
-# Transactions don't change. by adding this cache congif directiove,
+# Attachments don't change; by adding this cache config directive,
 # we don't lose pathalogically on long tickets.
 sub _CacheConfig {
     {

commit b8b9c297af739339369a50d0a3c9d5fc33497356
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Wed Nov 27 16:04:07 2013 -0500

    Remove references to useless cache_p and fast_update_p cache configs
    
    fast_update_p was never implemented, and cache_p was rendered irrelevant
    in DBIx::SearchBuilder 1.10

diff --git a/lib/RT/Attachment.pm b/lib/RT/Attachment.pm
index 6e0acae..5c90564 100644
--- a/lib/RT/Attachment.pm
+++ b/lib/RT/Attachment.pm
@@ -824,8 +824,6 @@ sub _Value {
 # we don't lose pathalogically on long tickets.
 sub _CacheConfig {
     {
-        'cache_p'       => 1,
-        'fast_update_p' => 1,
         'cache_for_sec' => 180,
     }
 }
diff --git a/lib/RT/Record.pm b/lib/RT/Record.pm
index d534b7d..f84dda8 100644
--- a/lib/RT/Record.pm
+++ b/lib/RT/Record.pm
@@ -667,7 +667,6 @@ sub __Value {
 
 sub _CacheConfig {
   {
-     'cache_p'        => 1,
      'cache_for_sec'  => 30,
   }
 }
diff --git a/lib/RT/Transaction.pm b/lib/RT/Transaction.pm
index 710177c..22eb7ca 100644
--- a/lib/RT/Transaction.pm
+++ b/lib/RT/Transaction.pm
@@ -1428,8 +1428,6 @@ sub DeferredRecipients {
 # Transactions don't change. by adding this cache config directive, we don't lose pathalogically on long tickets.
 sub _CacheConfig {
   {
-     'cache_p'        => 1,
-     'fast_update_p'  => 1,
      'cache_for_sec'  => 6000,
   }
 }

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


More information about the rt-commit mailing list