def droplet_worker(args, config, droplet, work_queue):
while not work_queue.empty():
# Get target info from queue
target = work_queue.get()
print(droplet.id, "Grabbing work...{}")
args.workspace = target[0]
args.domains = target[1]
args.droplet = droplet
# Run recon and import to elastic
reconng.parse_args(args, config)
print("Done working...")
else:
print("DONE")
评论列表
文章目录