3x-ui/web
Борисов Семён (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
..
assets chore: use Intl for date formatting (#3588) 2025-12-03 23:37:27 +01:00
controller minor changes 2025-09-24 11:47:14 +02:00
entity gofmt 2025-10-21 13:02:55 +02:00
global docs: add comments for all functions 2025-09-20 09:35:50 +02:00
html chore: use Intl for date formatting (#3588) 2025-12-03 23:37:27 +01:00
job fix: handle CPU threshold error to prevent false notifications 2025-12-12 17:15:39 +05:00
locale docs: add comments for all functions 2025-09-20 09:35:50 +02:00
middleware docs: add comments for all functions 2025-09-20 09:35:50 +02:00
network docs: add comments for all functions 2025-09-20 09:35:50 +02:00
service Fix int64 for 32-bit arch (#3591) 2025-12-03 14:58:54 +01:00
session docs: add comments for all functions 2025-09-20 09:35:50 +02:00
translation Add "Last Online" printing for Telegram bot (#3593) 2025-12-03 14:43:37 +01:00
web.go DevTools 2025-10-02 01:47:12 +02:00