Compare commits

...

4 Commits

Author SHA1 Message Date
53a48761f6 Update dependency pre-commit to v4
Some checks failed
renovate/artifacts Artifact file update failure
continuous-integration/drone/pr Build is failing
2025-12-16 21:37:08 +00:00
0011ac9cb9 Merge pull request 'Check pooled database connections before reusing them' (!137) from fix-db-disconnect into main
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Reviewed-on: #137
2025-09-26 15:15:26 +02:00
bf71ae7da5 Merge pull request 'Update python Docker tag to v3.11.13' (!122) from renovate/minor-3.11-python into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #122
2025-09-19 18:29:57 +02:00
4c88ee4c06 Check pooled database connections before reusing them
All checks were successful
continuous-integration/drone/pr Build is passing
Fixes #43
2025-09-19 18:18:19 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ werkzeug = "==2.3.8"
[dev-packages]
flake8 = "==7.1.1"
yapf = "==0.40.2"
pre-commit = "==2.21.0"
pre-commit = "==4.5.1"
reuse = "==4.0.3"
[requires]

2
app.py
View File

@@ -38,7 +38,7 @@ app.config["KI_LDAP_AUTH_PASSWORD"] = os.getenv("KI_LDAP_AUTH_PASSWORD")
app.config["KI_LDAP_BASE_DN"] = os.getenv("KI_LDAP_BASE_DN")
CORS(app)
db = SQLAlchemy(app, session_options={"future": True})
db = SQLAlchemy(app, session_options={"future": True}, engine_options={"pool_pre_ping": True})
migrate = Migrate(app, db, compare_type=True)
app.logger.info("Hello from KI")