Ask Solem %!s(int64=9) %!d(string=hai) anos
pai
achega
4a4bb4542d
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      celery/events/__init__.py

+ 1 - 2
celery/events/__init__.py

@@ -331,8 +331,7 @@ class EventReceiver(ConsumerMixin):
                 ttl if ttl is not None else conf.event_queue_ttl,
             ),
             'x-expires': maybe_s_to_ms(
-                expires if expires is not None
-                else conf.event_queue_expires,
+                expires if expires is not None else conf.event_queue_expires,
             ),
         })