Repository Public
1# =============================================================================2# SP BOUCHER | SOURCE FILE3# =============================================================================4# Project : SPSearch5# File : config/defaults.toml6# Author : Simon-Pierre Boucher | https://spboucher.ai7# Contact : contact@spboucher.ai8# Copyright : (c) 2026 Simon-Pierre Boucher9# License : None specified (no license file in this repository)10# =============================================================================11# END OF SP BOUCHER SOURCE HEADER12# =============================================================================1314# SPWEB — valeurs par défaut (générées depuis le code : ne pas modifier à la main).15# Copier les clés à changer dans un fichier à part et le passer par --config.1617[general]18data_dir = "./data"19node_name = "local"20secrets_file = "./data/secrets.toml"21test_mode = false2223[coordinator]24listen = "127.0.0.1:8911"25url = "http://127.0.0.1:8911"26max_urls = 200000027max_domains = 20000028max_db_bytes = 1000000000029default_domain_budget = 15030seed_domain_budget = 300031max_depth = 632lease_urls = 433lease_ttl_s = 18034cluster_rps = 20.035cluster_bps = 2000000036min_delay_ms = 200037max_crawl_delay_ms = 6000038robots_ttl_s = 8640039recrawl_min_s = 2160040recrawl_max_s = 518400041recrawl_share = 0.342error_retention_s = 60480043bloom_capacity = 200000044max_links_per_page = 15045max_cross_domain_links = 546db_cache_mb = 6447frontier_shards = 14849[worker]50coordinator_url = "http://127.0.0.1:8911"51index_url = "http://127.0.0.1:8912"52egress_probe_url = ""53concurrency = 854pipeline_mem_bytes = 26843545655max_html_bytes = 209715256max_sitemap_bytes = 1677721657max_sitemap_urls = 200058connect_timeout_ms = 500059total_timeout_ms = 2000060max_redirects = 561max_body_chars = 2400062battery_pause = true63nice = 106465[index]66listen = "127.0.0.1:8912"67shard_count = 468positions = false69writer_heap_mb = 4870commit_interval_s = 2071commit_docs = 200072max_body_terms = 150073snippet_max_chars = 24074title_max_chars = 16075near_dup_hamming = 376semantic = false77replica_of = ""78store_text = true79text_standard_chars = 600080text_premium_chars = 2400081sparse_body_terms = 30082premium_body_terms = 400083max_documents = 1000008485[storage]86quota_bytes = 10000000000087index_budget = 6000000000088frontier_budget = 1000000000089logs_budget = 500000000090other_budget = 500000000091merge_reserve = 2000000000092min_free_ratio = 0.293min_free_bytes = 2000000000094warn = 0.795throttle = 0.896suspend = 0.997protect = 0.9598resume = 0.7599100[resource]101adaptive = true102load_soft = 0.5103load_hard = 0.75104load_stop = 0.95105mem_soft = 0.25106mem_stop = 0.1107108[search]109listen = "127.0.0.1:8901"110index_nodes = ["http://127.0.0.1:8912"]111shard_timeout_ms = 1500112cache_entries = 2000113cache_ttl_s = 60114max_depth = 200115per_ip_per_min = 60116global_per_s = 50117submit_per_ip_per_hour = 6118fetch_per_key_per_min = 20119cursor_ttl_s = 900120cors_origins = []121web_dir = "./web/search/dist"122trusted_proxies = ["127.0.0.1", "10.67.0.1"]123124[control]125listen = "127.0.0.1:8900"126bot_host = "bot.spboucher.ai"127index_host = "index.spboucher.ai"128search_host = "search.spboucher.ai"129search_upstream = "http://127.0.0.1:8901"130bot_web_dir = "./web/bot/dist"131index_web_dir = "./web/index/dist"132session_ttl_s = 3600133series_retention_s = 2592000134contact = "abuse@spboucher.ai"135trusted_proxies = ["127.0.0.1", "10.67.0.1"]136