Parcourir la source

Log message "Skipping revoked tasks" is now "Discarding*" and is info instead of warn

Ask Solem il y a 11 ans
Parent
commit
4ea4637bcc
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      celery/worker/job.py

+ 1 - 1
celery/worker/job.py

@@ -328,7 +328,7 @@ class Request(object):
         if self.expires:
             expired = self.maybe_expire()
         if self.id in revoked_tasks:
-            warn('Skipping revoked task: %s[%s]', self.name, self.id)
+            info('Discarding revoked task: %s[%s]', self.name, self.id)
             self._announce_revoked(
                 'expired' if expired else 'revoked', False, None, expired,
             )