You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by he...@apache.org on 2022/05/17 07:52:27 UTC

svn commit: r1900984 - /spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/Check.pm

Author: hege
Date: Tue May 17 07:52:27 2022
New Revision: 1900984

URL: http://svn.apache.org/viewvc?rev=1900984&view=rev
Log:
Revert get_async_pending_rules from do_meta_tests one more time. It's really not needed, as rule_ready() in run_eval_tests is enough.

Modified:
    spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/Check.pm

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/Check.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/Check.pm?rev=1900984&r1=1900983&r2=1900984&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/Check.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/Check.pm Tue May 17 07:52:27 2022
@@ -287,14 +287,11 @@ sub do_meta_tests {
   my $h = $pms->{tests_already_hit};
   my $retry;
 
-  # Get pending DNS async rule list
-  my %pl = map { $_ => 1 } $pms->get_async_pending_rules();
-
 RULE:
   foreach my $rulename (keys %$mp) {
     # Meta is not ready if some dependency has not run yet
     foreach my $deprule (@{$md->{$rulename}||[]}) {
-      if (!exists $h->{$deprule} || $pl{$deprule}) {
+      if (!exists $h->{$deprule}) {
         next RULE;
       }
     }