From 22f6c54bf4fde676ff578c14fdb58f42b7e86bb9 Mon Sep 17 00:00:00 2001 From: Felisp Date: Sun, 28 Jul 2024 14:56:55 +0200 Subject: [PATCH] Add some docs to example config --- res/ExampleConfig.edn | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/res/ExampleConfig.edn b/res/ExampleConfig.edn index 5892e8f..7ed8364 100644 --- a/res/ExampleConfig.edn +++ b/res/ExampleConfig.edn @@ -4,7 +4,7 @@ :default-board "/mlp/" ;Board to be used when no board=x param given :board-disabled-message "This board is not enabled for feed generation.\n\nYou can contact me here: [contact]" :enable-board-listing true ;Whether to show list of enabled boards in /boards - :boards-defaults {:refresh-rate 300 + :boards-defaults {:refresh-rate 300 ;how often new data should be downloaded in seconds :starting-page 7 :default-chod 94 ;; If you want to do some preprocessing beforehand, you can override @@ -14,7 +14,8 @@ ;; Commented parts bellow are still unimplemented ;; Only download catalog when someone requests feed and cache is old ;; Saves request to 4chan, usefull for borads that are checked rarely - ;; :lazy-load false + ;; Generally the better option, first request in :refresh-rate may take longer + :lazy-load true ;; Whether to allow regex search thru the threads (&qr= param) ;; :regex-enable true ;; Wheter to create cache by downloading whole catalog or every required