def main():
search = ServiceSearch()<EOL>services = search.get_services(up=True, tags=['<STR_LIT>'])<EOL>print_notification("<STR_LIT>".format(len(services)))<EOL>urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)<EOL>pool = Pool(<NUM_LIT:100>)<EOL>count = <NUM_LIT:0><EOL>for service in services:<EOL><INDENT>count += <NUM_LIT:1><EOL>if count % <NUM_LIT:50> == <NUM_LIT:0>:<EOL><INDENT>print_notification("<STR_LIT>".format(count, len(services)))<EOL><DEDENT>pool.spawn(check_service, service)<EOL><DEDENT>pool.join()<EOL>print_notification("<STR_LIT>")<EOL>
Retrieves services starts check_service in a gevent pool of 100.