9 Commits

Author SHA1 Message Date
perennial 8850f1ce16 proxy_checker: simplify CRC32 calc 2024-10-23 14:33:45 +11:00
perennial c0b49fb28e proxy_checker: check crc32 2024-10-21 17:26:37 +11:00
perennial 9d65f68df1 proxy checker naming 2024-10-21 16:41:38 +11:00
perennial 21b30bc060 use SugaredLogger in package proxy_checker 2024-10-21 16:39:58 +11:00
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
perennial f6a2bc4fda Wait for initial proxy check on server startup
Modify the server startup process to wait for the first proxy check to
complete before initialising the server.

Add logging to provide visibility into the proxy checker initialisation
process.
2024-09-17 15:48:07 +10:00
VnPower a34a21eed4 Fix proxy checker unable to run anymore 10 seconds after server init 2024-09-16 20:39:57 +07:00
VnPower f55c73bbdf Move proxy_checker into the server/ folder 2024-09-16 20:17:15 +07:00