38 lines
939 B
JSON
38 lines
939 B
JSON
{
|
|
"db_path": "db/proxies.sqlite",
|
|
"host": "127.0.0.1",
|
|
"port": 18080,
|
|
"validator_timeout": 5,
|
|
"validator_max_concurrency": 200,
|
|
"validator_connect_timeout": 3,
|
|
"crawler_num_validators": 50,
|
|
"crawler_max_queue_size": 48,
|
|
"log_level": "INFO",
|
|
"log_dir": "logs",
|
|
"ws_stats_interval_seconds": 1,
|
|
"export_max_records": 10000,
|
|
"score_valid": 10,
|
|
"score_invalid": -5,
|
|
"score_min": 0,
|
|
"score_max": 100,
|
|
"score_latency_ref_ms": 500.0,
|
|
"score_use_penalty_per_pick": 2.5,
|
|
"score_max_use_penalty": 70.0,
|
|
"score_default_latency_ms": 1500.0,
|
|
"validator_test_urls": [
|
|
"http://httpbin.org/ip",
|
|
"https://httpbin.org/ip",
|
|
"http://api.ipify.org",
|
|
"https://api.ipify.org",
|
|
"http://www.baidu.com",
|
|
"http://www.qq.com"
|
|
],
|
|
"plugins_dir": "plugins",
|
|
"cors_origins": [
|
|
"http://localhost:8080",
|
|
"http://localhost:5173",
|
|
"http://127.0.0.1:18081",
|
|
"http://localhost:18081"
|
|
]
|
|
}
|