|
@@ -11,13 +11,13 @@ MANAGERS = ADMINS
|
|
|
|
|
|
DATABASES = {
|
|
|
'default': {
|
|
|
- 'ENGINE': 'django_psycopg2_pool.gevent', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
|
|
|
+ 'ENGINE': 'django.db.backends.postgresql_psycopg2', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
|
|
|
'NAME': 'hello_world', # Or path to database file if using sqlite3.
|
|
|
'USER': 'benchmarkdbuser', # Not used with sqlite3.
|
|
|
'PASSWORD': 'benchmarkdbpass', # Not used with sqlite3.
|
|
|
'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
|
|
|
'PORT': '', # Set to empty string for default. Not used with sqlite3.
|
|
|
- 'POOL_SIZE' : 32,
|
|
|
+ 'CONN_MAX_AGE': 30,
|
|
|
}
|
|
|
}
|
|
|
|