diff options
author | Frédéric Guillot <fred@miniflux.net> | 2017-12-16 18:48:17 -0800 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2017-12-16 18:48:17 -0800 |
commit | 18f55d156995371bfb06ca8cd91da5a922d2a937 (patch) | |
tree | 83229e4691ba2ea2e1ddd2de8810cd9ac40e7858 /config | |
parent | 00257988ef1707a028cd7dd0b1f8f68e6e8fac53 (diff) |
Add scheduler to clean old sessions
Diffstat (limited to 'config')
-rw-r--r-- | config/config.go | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/config/config.go b/config/config.go index 493e4ea..b1169e7 100644 --- a/config/config.go +++ b/config/config.go @@ -11,17 +11,18 @@ import ( // Default config parameters values const ( - DefaultBaseURL = "http://localhost" - DefaultDatabaseURL = "postgres://postgres:postgres@localhost/miniflux2?sslmode=disable" - DefaultWorkerPoolSize = 5 - DefaultPollingFrequency = 60 - DefaultBatchSize = 10 - DefaultDatabaseMaxConns = 20 - DefaultListenAddr = "127.0.0.1:8080" - DefaultCertFile = "" - DefaultKeyFile = "" - DefaultCertDomain = "" - DefaultCertCache = "/tmp/cert_cache" + DefaultBaseURL = "http://localhost" + DefaultDatabaseURL = "postgres://postgres:postgres@localhost/miniflux2?sslmode=disable" + DefaultWorkerPoolSize = 5 + DefaultPollingFrequency = 60 + DefaultBatchSize = 10 + DefaultDatabaseMaxConns = 20 + DefaultListenAddr = "127.0.0.1:8080" + DefaultCertFile = "" + DefaultKeyFile = "" + DefaultCertDomain = "" + DefaultCertCache = "/tmp/cert_cache" + DefaultSessionCleanupFrequency = 24 ) // Config manages configuration parameters. |