Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @@ -19,7 +19,9 @@
- print "Sending tasks to workers..."
- # The first message is "0" and signals start of batch
- -sender.send('0')
- +sink = context.socket(zmq.PUSH)
- +sink.connect("tcp://localhost:5558")
- +sink.send('0')
- # Initialize random number generator
- random.seed()
Advertisement
Add Comment
Please, Sign In to add comment