feat: support SQLALCHEMY_POOL_RESET_ON_RETURN config (#31156)

This commit is contained in:
wangxiaolei
2026-05-08 12:25:46 +00:00
committed by GitHub
parent cb0356e9d7
commit 8132c444dc
5 changed files with 13 additions and 3 deletions
@@ -114,8 +114,8 @@ def test_flask_configs(monkeypatch: pytest.MonkeyPatch):
"pool_recycle": 3600,
"pool_size": 30,
"pool_use_lifo": False,
"pool_reset_on_return": None,
"pool_timeout": 30,
"pool_reset_on_return": "rollback",
}
assert config["CONSOLE_WEB_URL"] == "https://example.com"