Skip to content

Commit b958631

Browse files
authored
Merge pull request #371 from FerraoFeodrippe/main
fix: pika version 1.3.2
2 parents 81bb7d3 + 8497c5f commit b958631

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/new_task.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
routing_key='task_queue',
1616
body=message,
1717
properties=pika.BasicProperties(
18-
delivery_mode=pika.spec.PERSISTENT_DELIVERY_MODE,
18+
delivery_mode=pika.DeliveryMode.Persistent,
1919
))
2020
print(f" [x] Sent {message}")
2121
connection.close()

0 commit comments

Comments
 (0)