Commit Graph

23 Commits

Author SHA1 Message Date
Username 9b44043237 add ssl_first: try SSL handshake before secondary check
CI / syntax-check (push) Successful in 3s
CI / memory-leak-check (push) Successful in 11s
When ssl_first=1 (default), proxy validation first attempts an SSL
handshake. If it fails, falls back to the configured secondary check
(head, judges, or irc). This separates SSL capability detection from
basic connectivity testing.

New config options:
- ssl_first: enable SSL-first pattern (default: 1)
- checktype: secondary check type (head, judges, irc)
2025-12-28 14:56:46 +01:00
Username 9f782c3222 config: default to head checktype only
CI / syntax-check (push) Successful in 3s
CI / memory-leak-check (push) Successful in 11s
2025-12-28 14:45:27 +01:00
Username 1c8e3062b7 add configurable thread scaling and queue counter reset
CI / syntax-check (push) Successful in 3s
CI / memory-leak-check (push) Successful in 12s
- Add scale_cooldown and scale_threshold config options
- ThreadScaler now reads scaling params from config
- Reset priority queue counter when queue empties to prevent unbounded growth
2025-12-28 14:37:32 +01:00
Username 9f81e1e4af watchd: remove use_ssl config, use HTTP for non-ssl checks
CI / syntax-check (push) Successful in 2s
CI / memory-leak-check (push) Successful in 11s
2025-12-26 21:25:52 +01:00
Username 6ea201805f watchd: configurable adaptive timeout per failure 2025-12-26 20:57:21 +01:00
Username b955281b51 config: set checktype to judges,head 2025-12-25 20:25:43 +01:00
Username 5e184c1130 update config sample, requirements, searx instances 2025-12-25 11:13:34 +01:00
Username eb1bba0e13 docs: update roadmap and task tracking
- README: update feature list
- ROADMAP: add completed features, update priorities
- TODO: mark completed tasks, add new items
- config.ini.sample: update example values
- http2: minor cleanup
2025-12-23 17:24:25 +01:00
Your Name be1c6fbb4e add flood section to sample config 2021-04-26 03:30:27 +02:00
Your Name f9200a99f4 update config.ini.sample 2021-04-26 00:10:36 +02:00
rofl0r ddee92d20f watchd: introduce configurable 'outage_threshold' 2019-01-18 15:34:49 +00:00
rofl0r 8b10df9c1b ppf.py: start using stale_count 2019-01-11 05:08:32 +00:00
mickael 4c6a83373f split databases 2019-01-11 00:25:01 +00:00
rofl0r ef9158015f proxywatchd: make checktime constants configurable
this requires only saving the last checked time in `tested`.
you can run the following sql statement to update the existing values
in the database:
sqlite3 proxylist.sqlite \
"update proxylist set tested=tested-(1800+(failed*3600)) where failed < 6"
2019-01-11 00:25:01 +00:00
rofl0r 38d89f5bd9 ppf: add option for number of http retries 2019-01-08 03:30:31 +00:00
rofl0r f16f754b0e implement combo config parser
allows all options to be overridden by command line.

e.g.
[watchd]
threads=10
debug=false

--watch.threads=50 --debug=true
2019-01-08 02:17:10 +00:00
mickael 1b3ce72efc add and use combining class 2019-01-07 23:19:14 +00:00
mickael aeff09d2b3 move math function inside the sql statement 2019-01-07 21:11:08 +00:00
rofl0r e51dbe113b watchd: optional debug output 2019-01-06 22:44:18 +00:00
mickael 358044ccea watchd: make use of ssl configurable 2019-01-06 20:09:27 +00:00
mickael 4d513898fb make "submit_after" a configuratble option (config.ini) 2019-01-06 00:38:22 +00:00
rofl0r 05294186d4 config sample: remove all unused items 2019-01-05 03:41:42 +00:00
mickael d8dd453bdf add sample config file 2019-01-03 23:28:35 +00:00