File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 55class FibonacciClient (object ):
66 def __init__ (self ):
77 self .connection = pika .AsyncoreConnection (pika .ConnectionParameters (
8- host = '127.0.0.1' ,
9- credentials = pika . PlainCredentials ( 'guest' , 'guest' )))
8+ host = 'localhost' ))
9+
1010 self .channel = self .connection .channel ()
1111
12- result = self .channel .queue_declare (auto_delete = True )
12+ result = self .channel .queue_declare (exclusive = True )
1313 self .callback_queue = result .queue
1414
1515 self .requests = {}
Original file line number Diff line number Diff line change 33
44
55connection = pika .AsyncoreConnection (pika .ConnectionParameters (
6- host = '127.0.0.1' ,
7- credentials = pika . PlainCredentials ( 'guest' , 'guest' )))
6+ host = 'localhost' ))
7+
88channel = connection .channel ()
99
1010
You can’t perform that action at this time.
0 commit comments