a0de225f by 冯轩

MOD:CONN_MAX_AGE

1 parent 6539e1d1
......@@ -102,7 +102,7 @@ for db_setting in DATABASES.values():
'driver': 'ODBC Driver 17 for SQL Server',
'extra_params': "odbc_cursortype=2"
}
db_setting['CONN_MAX_AGE'] = 60
# set this to False if you want to turn off pyodbc's connection pooling
DATABASE_CONNECTION_POOLING = True
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!