Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
pool and process
max_windows = browser_setting['max_windows']'max_windows settings: ' + str(max_windows))
# pool = Pool(processes=len(event_list))
for event in event_list[:max_windows]:
logging.debug('Event before submit, name: ' + event['text'])
# pool.apply_async(func=parse_event_sale_info, args=(event,))
p = Process(target=parse_event_sale_info, args=(event,))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.