mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-04-12 03:31:11 +00:00
run-autopkgtest: Add persistent messages
This means the server should write them to disk as soon as possible, so they can be recovered if it crashes.
This commit is contained in:
parent
c3fe5dc897
commit
ff553758a6
@ -145,5 +145,6 @@ if __name__ == '__main__':
|
||||
for arch in args.architecture:
|
||||
queue = 'debci-%s%s-%s' % (context, args.series, arch)
|
||||
for pkg in args.package:
|
||||
ch.basic_publish(amqp.Message(pkg + params),
|
||||
ch.basic_publish(amqp.Message(pkg + params,
|
||||
delivery_mode=2), # persistent
|
||||
routing_key=queue)
|
||||
|
Loading…
x
Reference in New Issue
Block a user