Explorar o código

[stresstests] Queue must be durable... also disable auto_delete

Ask Solem %!s(int64=12) %!d(string=hai) anos
pai
achega
515809fdad
Modificáronse 1 ficheiros con 2 adicións e 3 borrados
  1. 2 3
      funtests/stress/stress/app.py

+ 2 - 3
funtests/stress/stress/app.py

@@ -23,9 +23,8 @@ app.conf.update(
     CELERY_DEFAULT_QUEUE=CSTRESS_QUEUE,
     CELERY_QUEUES=(
         Queue(CSTRESS_QUEUE,
-              exchange=Exchange(CSTRESS_QUEUE, durable=False),
-              routing_key=CSTRESS_QUEUE,
-              durable=False, auto_delete=True),
+              exchange=Exchange(CSTRESS_QUEUE),
+              routing_key=CSTRESS_QUEUE),
     ),
 )