fix(api):safe reset in db pool, avoid rollback in gevent callback (#24556)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Amy
2025-08-26 18:14:06 +08:00
committed by GitHub
parent fa753239ad
commit b5c2756261
3 changed files with 51 additions and 0 deletions

View File

@@ -90,6 +90,7 @@ def test_flask_configs(monkeypatch):
"pool_recycle": 3600,
"pool_size": 30,
"pool_use_lifo": False,
"pool_reset_on_return": None,
}
assert config["CONSOLE_WEB_URL"] == "https://example.com"