MySQL Performance when using GF_DATABASE_URL

Set MaxIdleConn and MaxOpenConn when using the GF_DATABASE_URL configuration. Also added GF_DATABASE_DEBUG flag to print SQL statements and SQL execution times.
See #9784 for the details.
This commit is contained in:
Furtchet
2017-11-03 14:05:32 -05:00
parent bf85735a36
commit 5fdfa3ff7e
4 changed files with 18 additions and 6 deletions

View File

@@ -224,6 +224,9 @@ The maximum number of connections in the idle connection pool.
### max_open_conn
The maximum number of open connections to the database.
### debug
Set to `true` to log the sql calls and execution times.
<hr />
## [security]