diff --git a/config/generic.json.sample b/config/generic.json.sample index 2a68bec6..f5d0c03a 100644 --- a/config/generic.json.sample +++ b/config/generic.json.sample @@ -43,6 +43,7 @@ } }, "hide_captures_with_error": false, + "archive": 180 "_notes": { "loglevel": "(lookyloo) Can be one of the value listed here: https://docs.python.org/3/library/logging.html#levels", "splash_loglevel": "(Splash) INFO is *very* verbose.", @@ -66,6 +67,7 @@ "enable_mail_notification": "Allow users to notify a pre-configured email address about a specific capture", "email": "Configuration for sending email notifications.", "priority": "Define the priority of a new capture. A capture from the web interface has priority over a capture from the API, same for authenticated user vs. anonymous.", - "hide_captures_with_error": "Capturing an URL may result in an error (domain non-existent, HTTP error, ...). They may be useful to see, but if you have a public instance, they will clutter the index." + "hide_captures_with_error": "Capturing an URL may result in an error (domain non-existent, HTTP error, ...). They may be useful to see, but if you have a public instance, they will clutter the index.", + "archive": "The captures older than this value (in days) will be archived. They're not cached by default in the Lookyloo class." } }