renamed slave to minion
--HG-- rename : bin/slave.py => bin/minion.py
This commit is contained in:
+3
-3
@@ -57,7 +57,7 @@ if __name__ == '__main__':
|
||||
m = QueueManager(address=(server, options.port), authkey='asdf')
|
||||
m.connect()
|
||||
|
||||
tasksq, resultsq, masterq, slavesq = get_qs(m)
|
||||
tasksq, resultsq, masterq, minionsq = get_qs(m)
|
||||
|
||||
if not options.participants:
|
||||
print "wait on all announced participants"
|
||||
@@ -91,7 +91,7 @@ if __name__ == '__main__':
|
||||
|
||||
for i in xrange(participants):
|
||||
print "sending worker %d start message" % (i+1,)
|
||||
slavesq.put("start")
|
||||
minionsq.put("start")
|
||||
|
||||
receive_start = time.time()
|
||||
widgets = ['interpolate: ', Percentage(), ' ', Bar(), ' ', ETA()]
|
||||
@@ -109,7 +109,7 @@ if __name__ == '__main__':
|
||||
# shut down all participants
|
||||
for i in xrange(participants):
|
||||
if options.last:
|
||||
slavesq.put("teardown")
|
||||
minionsq.put("teardown")
|
||||
|
||||
# post processing
|
||||
stats = {}
|
||||
|
||||
Reference in New Issue
Block a user