Title: 🎉 Improved Code Organization and Enhanced Documentation in models.py
This commit is contained in:
@@ -54,8 +54,9 @@ def configure_sqlite_for_production(dbapi_connection, _connection_record):
|
||||
"""
|
||||
cursor = dbapi_connection.cursor()
|
||||
|
||||
# WAL-Modus aktivieren (Write-Ahead Logging)
|
||||
cursor.execute("PRAGMA journal_mode=WAL")
|
||||
# WAL-Modus aktivieren (Write-Ahead Logging) - Deaktiviert für WSL2-Kompatibilität
|
||||
# cursor.execute("PRAGMA journal_mode=WAL")
|
||||
cursor.execute("PRAGMA journal_mode=DELETE")
|
||||
|
||||
# Synchronous-Modus für bessere Performance bei WAL
|
||||
cursor.execute("PRAGMA synchronous=NORMAL")
|
||||
|
Reference in New Issue
Block a user