Browse Source

增加五秒等待时间

xiziwen 1 week ago
parent
commit
1caf228231
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/smart_report.go

+ 1 - 1
services/smart_report.go

@@ -160,7 +160,7 @@ async def main():
     })
     })
 
 
     # 在生成PDF之前等待2秒
     # 在生成PDF之前等待2秒
-    await asyncio.sleep(10)
+    await asyncio.sleep(15)
 
 
     await page.pdf({
     await page.pdf({
         'path': "%s",
         'path': "%s",