diff options
| author | frosty <gabriel@bwaaa.monster> | 2026-08-03 23:21:41 -0400 |
|---|---|---|
| committer | frosty <gabriel@bwaaa.monster> | 2026-08-03 23:21:41 -0400 |
| commit | 7b587d82c874df275f147eb461f6389163547e4e (patch) | |
| tree | fc6ce57519cee8098d5864e17a8c18b46ce94e20 /src/Config.h | |
| parent | 953937cfa2bb0fefc2e6e13cf19e34a09fa045dc (diff) | |
| download | omnisearch-7b587d82c874df275f147eb461f6389163547e4e.tar.gz | |
feat: add yacy support
Diffstat (limited to 'src/Config.h')
| -rw-r--r-- | src/Config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Config.h b/src/Config.h index 25bd978..f0bdf4b 100644 --- a/src/Config.h +++ b/src/Config.h @@ -8,6 +8,7 @@ #define DEFAULT_CACHE_TTL_INFOBOX 86400 #define DEFAULT_CACHE_TTL_IMAGE 604800 #define DEFAULT_MAX_PROXY_RETRIES 3 +#define DEFAULT_YACY_INSTANCE "http://127.0.0.1:8090" #define BUFFER_SIZE_SMALL 256 #define BUFFER_SIZE_MEDIUM 512 @@ -46,6 +47,7 @@ typedef struct { int cache_ttl_infobox; int cache_ttl_image; char engines[512]; + char yacy_instance[512]; int rate_limit_search_requests; int rate_limit_search_interval; int rate_limit_images_requests; |
