Commit 1dcab7e5 by lei

1

parent ef86db7c
......@@ -463,6 +463,8 @@ def process_start(browser_item, lock):
if __name__ == '__main__':
try:
logger.info('开始执行')
browser_list = [
{
'num': 2,
......@@ -478,3 +480,6 @@ if __name__ == '__main__':
for p in l:
p.join() # 当5 个子进程全部执行完,才会执行主进程
except Exception as e:
logger.error(e)
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment