[Rt-commit] rt branch, 4.0/remove-unused-cache-configs, created. rt-4.0.18-102-g7462023
Alex Vandiver
alexmv at bestpractical.com
Wed Nov 27 16:05:14 EST 2013
The branch, 4.0/remove-unused-cache-configs has been created
at 746202365221d35d8ff86ccb3060c40e839a88d3 (commit)
- Log -----------------------------------------------------------------
commit 309c0b87e690e45e36d3cb8824466d134aa3e8f8
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 54217b3..a273e69 100644
--- a/lib/RT/Attachment.pm
+++ b/lib/RT/Attachment.pm
@@ -822,7 +822,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 directiove,
# we don't lose pathalogically on long tickets.
sub _CacheConfig {
{
commit 746202365221d35d8ff86ccb3060c40e839a88d3
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 a273e69..d469f82 100644
--- a/lib/RT/Attachment.pm
+++ b/lib/RT/Attachment.pm
@@ -826,8 +826,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 66a6d65..3c22395 100644
--- a/lib/RT/Record.pm
+++ b/lib/RT/Record.pm
@@ -664,7 +664,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 6e9f78f..6b89979 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