aboutsummaryrefslogtreecommitdiff
path: root/example-config.ini
diff options
context:
space:
mode:
Diffstat (limited to 'example-config.ini')
-rw-r--r--example-config.ini12
1 files changed, 11 insertions, 1 deletions
diff --git a/example-config.ini b/example-config.ini
index 26385ac..dbc4f6b 100644
--- a/example-config.ini
+++ b/example-config.ini
@@ -1,7 +1,7 @@
[server]
host = 0.0.0.0
port = 8000
-
+
[proxy]
# Single proxy (comment out to use list_file instead)
#proxy = "socks5://127.0.0.1:9050"
@@ -14,3 +14,13 @@ port = 8000
# Randomize proxy credentials for each request
#randomize_username = true
#randomize_password = true
+
+[cache]
+# Directory to store cached responses
+#dir = /tmp/omnisearch_cache
+
+# Cache TTL for search results in seconds (default: 3600 = 1 hour)
+#ttl_search = 3600
+
+# Cache TTL for infobox data in seconds (default: 86400 = 24 hours)
+#ttl_infobox = 86400