Commit Graph

2 Commits

Author SHA1 Message Date
iacore 7cb6ac50c6 simplify proxy checker 2024-10-04 16:04:08 +00:00
perennial 305f574f15 Refactor proxy checker initialisation and shutdown
Restructure the proxy checking logic to use a ticker for periodic checks
when a non-zero interval is set. Improve handling of zero interval case
by waiting for a stop signal. Improve stop mechanism and initialisation
of stopChan.

Also introduce a new test file proxy_checker_test.go for unit testing.
2024-09-24 18:41:40 +10:00