mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
Make configurable the number of days to remove old sessions
This commit is contained in:
parent
8d8f78241d
commit
3a60abbac0
6 changed files with 57 additions and 12 deletions
|
@ -118,6 +118,8 @@ func (p *Parser) parseLines(lines []string) (err error) {
|
|||
p.opts.batchSize = parseInt(value, defaultBatchSize)
|
||||
case "ARCHIVE_READ_DAYS":
|
||||
p.opts.archiveReadDays = parseInt(value, defaultArchiveReadDays)
|
||||
case "REMOVE_SESSIONS_DAYS":
|
||||
p.opts.removeSessionsDays = parseInt(value, defaultRemoveSessionsDays)
|
||||
case "PROXY_IMAGES":
|
||||
p.opts.proxyImages = parseString(value, defaultProxyImages)
|
||||
case "CREATE_ADMIN":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue