Add customizable recent_load and recent_days options

This commit is contained in:
lowlighter
2021-05-27 12:22:31 +02:00
parent 123e61390c
commit 47473327b0
5 changed files with 35 additions and 5 deletions

View File

@@ -88,4 +88,22 @@ inputs:
plugin_languages_indepth:
description: Indepth languages processing (see documentation before enabling)
type: boolean
default: false
default: false
# Number of activity events to load (for recently used languages statistics)
# A high number will consume more requests
plugin_languages_recent_load:
description: Number of events to load (for recently used section)
type: number
default: 300
min: 100
max: 1000
# Filter events by age (for recently used languages statistics)
# Set to 0 to disable age filtering
plugin_languages_recent_days:
description: Maximum event age (for recently used section)
type: number
default: 14
min: 0
max: 365