listmonk/cmd
Karan Sharma ad8f290dad feat: Set default values for DB connection parameters
- Configures `max_open` and `max_idle` in default configs to `25`.
  This changes the previous behaviour of connection pooling where both the
  values were unset (from default config) and causes unbounded connection
  limit and no connection reuse.
- Configures `db.SetConnMaxLifetime` which sets the maximum time the
  connection can be reused in a pool.
- Sets `max_conn_lifetime` in default config as `5 minutes`.

Closes https://github.com/knadh/listmonk/issues/225
2020-11-17 14:34:35 +05:30
..
admin.go Add generic HTTP postback Messenger support. 2020-10-10 18:52:08 +05:30
campaigns.go Fix echo's URI routing race condition that caused random 404s. 2020-11-08 18:36:25 +05:30
handlers.go Fix echo's URI routing race condition that caused random 404s. 2020-11-08 18:36:25 +05:30
import.go Clean up root and move app to cmd directory 2020-08-08 13:54:25 +05:30
init.go Add serverside sort to tables. 2020-10-24 20:00:29 +05:30
install.go Add a DB setup check on boot 2020-11-10 22:21:25 +05:30
lists.go Fix echo's URI routing race condition that caused random 404s. 2020-11-08 18:36:25 +05:30
main.go Add a DB setup check on boot 2020-11-10 22:21:25 +05:30
manager_db.go Clean up root and move app to cmd directory 2020-08-08 13:54:25 +05:30
media.go Clean up root and move app to cmd directory 2020-08-08 13:54:25 +05:30
notifications.go Add generic HTTP postback Messenger support. 2020-10-10 18:52:08 +05:30
public.go Fix invalid link click registrations 2020-10-24 14:03:37 +05:30
queries.go feat: Set default values for DB connection parameters 2020-11-17 14:34:35 +05:30
settings.go Make individual subscriber tracking optional. 2020-10-18 17:49:46 +05:30
subscribers.go Add serverside sort to tables. 2020-10-24 20:00:29 +05:30
templates.go Fix echo's URI routing race condition that caused random 404s. 2020-11-08 18:36:25 +05:30
updates.go Fix --version string and duplicate printing 2020-10-18 22:59:22 +05:30
upgrade.go Add v0.8.0 DB migrations. 2020-10-18 21:10:47 +05:30
utils.go Add serverside sort to tables. 2020-10-24 20:00:29 +05:30