🧑‍💻添加更多实用开发配置项 (#555)

This commit is contained in:
呵呵です
2025-07-28 01:31:55 +08:00
committed by GitHub
parent 068c508f57
commit 7a5170936b
5 changed files with 28 additions and 15 deletions

View File

@@ -78,7 +78,7 @@ class BrowserManager:
"""启动浏览器实例"""
playwright = await async_playwright().start()
cls._browser = await playwright.firefox.launch(
headless=not config.tetris.development,
headless=not config.tetris.dev.enabled,
firefox_user_prefs={
'network.http.max-persistent-connections-per-server': 64,
},