1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-06-27 16:36:00 +00:00

Add new option DATABASE_CONNECTION_LIFETIME

This commit is contained in:
Frédéric Guillot 2021-05-23 19:32:34 -07:00 committed by fguillot
parent e0557d8961
commit c119a2c011
5 changed files with 28 additions and 3 deletions

View file

@ -132,6 +132,7 @@ func Parse() {
config.Opts.DatabaseURL(),
config.Opts.DatabaseMinConns(),
config.Opts.DatabaseMaxConns(),
config.Opts.DatabaseConnectionLifetime(),
)
if err != nil {
logger.Fatal("Unable to initialize database connection pool: %v", err)