[Rt-commit] rt branch, 4.4/shredder-log-exceeding-dependencies-limit-object, created. rt-4.4.4-144-g0b5efed83e
? sunnavy
sunnavy at bestpractical.com
Fri Oct 2 15:37:34 EDT 2020
The branch, 4.4/shredder-log-exceeding-dependencies-limit-object has been created
at 0b5efed83e8554362049c3999d21461507c07d75 (commit)
- Log -----------------------------------------------------------------
commit 0b5efed83e8554362049c3999d21461507c07d75
Author: sunnavy <sunnavy at bestpractical.com>
Date: Sat Oct 3 03:06:19 2020 +0800
Log the object that exceeds DependenciesLimit in shredder
This is for debugging.
diff --git a/lib/RT/Shredder/Dependencies.pm b/lib/RT/Shredder/Dependencies.pm
index c5368c59fa..0a0ce1c210 100644
--- a/lib/RT/Shredder/Dependencies.pm
+++ b/lib/RT/Shredder/Dependencies.pm
@@ -117,6 +117,7 @@ sub _PushDependency
);
if( scalar @{ $self->{'list'} } > ( $RT::DependenciesLimit || 1000 ) ) {
+ RT->Logger->error( $self->{'list'}[0]{BaseObject}->UID . ' has too many dependencies' );
RT::Shredder::Exception::Info->throw( 'DependenciesLimit' );
}
return;
-----------------------------------------------------------------------
More information about the rt-commit
mailing list