3x-ui/web/job
Борисов Семён (kotopheiop) f40278e7e4 fix: handle CPU threshold error to prevent false notifications
Previously, when GetTgCpu() failed, the error was ignored and threshold
defaulted to 0, causing notifications to be sent for any CPU usage.

Now the job properly checks for errors and skips notifications if:
- The threshold cannot be retrieved (error)
- The threshold is not set or is 0

This ensures notifications are only sent when CPU usage exceeds the
configured threshold value from settings.
2025-12-12 17:15:39 +05:00
..
check_client_ip_job.go docs: add comments for all functions 2025-09-20 09:35:50 +02:00
check_cpu_usage.go fix: handle CPU threshold error to prevent false notifications 2025-12-12 17:15:39 +05:00
check_hash_storage.go docs: add comments for all functions 2025-09-20 09:35:50 +02:00
check_xray_running_job.go docs: add comments for all functions 2025-09-20 09:35:50 +02:00
clear_logs_job.go docs: add comments for all functions 2025-09-20 09:35:50 +02:00
ldap_sync_job.go update dependencies 2025-10-07 13:49:08 +02:00
periodic_traffic_reset_job.go fix: improve error handling in periodic traffic reset job (#3572) 2025-10-01 23:12:09 +02:00
stats_notify_job.go docs: add comments for all functions 2025-09-20 09:35:50 +02:00
xray_traffic_job.go docs: add comments for all functions 2025-09-20 09:35:50 +02:00