Dockerfile 部署
This commit is contained in:
@@ -322,6 +322,11 @@ def fetch_issue_receipt_incremental():
|
||||
page.listen.stop()
|
||||
except Exception:
|
||||
pass
|
||||
try:
|
||||
# 必须强制退出浏览器,释放 9222 端口和内存,防止产生僵尸进程导致 404 Not Found
|
||||
page.quit()
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
if __name__ == "__main__":
|
||||
fetch_issue_receipt_incremental()
|
||||
@@ -293,6 +293,11 @@ def fetch_receipt_details_incremental():
|
||||
page.listen.stop()
|
||||
except Exception:
|
||||
pass
|
||||
try:
|
||||
# 必须强制退出浏览器,释放内存,防止产生僵尸进程导致 404
|
||||
page.quit()
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
if __name__ == "__main__":
|
||||
fetch_receipt_details_incremental()
|
||||
Reference in New Issue
Block a user