소스 검색

yanic: Forget offline nodes after 14d (instead of 30d)

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm 1 년 전
부모
커밋
d39f2267be
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      yanic/yanic.conf.tmpl

+ 1 - 1
yanic/yanic.conf.tmpl

@@ -30,7 +30,7 @@ webroot = "/srv/yanic/data"
 state_path    = "/srv/yanic/{{site}}.state"
 # prune data in RAM, cache-file and output json files (i.e. nodes.json)
 # that were inactive for longer than
-prune_after   = "30d"
+prune_after   = "14d"
 # Export nodes and graph periodically
 save_interval = "1m"
 # Set node to offline if not seen within this period