aboutsummaryrefslogtreecommitdiff
path: root/reports.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2025-07-31 22:32:29 +0700
committerShulhan <ms@kilabit.info>2025-08-01 00:39:45 +0700
commit5a90a6822fc0d6a0d0d07b4b4583f9dbc20ba0e6 (patch)
tree299946be1f991f73aabbb34804d60422896d368a /reports.go
parentbec99d46d65c451f18000a7247d3df06765a3894 (diff)
downloadlilin-5a90a6822fc0d6a0d0d07b4b4583f9dbc20ba0e6.tar.xz
all: limit the history in ServiceReport
When the service keep scanning longer than let say 1 day, the history of service report keep growing. We did not want this history consume memory, so at one point we need to purge it. This changes limit the maximum history to 120 items.
Diffstat (limited to 'reports.go')
0 files changed, 0 insertions, 0 deletions