Private
Public Access
1
0

6 Commits

Author SHA1 Message Date
196f90a2b9 fix(db): use int for netspeed_active to prevent overflow
All checks were successful
continuous-integration/drone/push Build is passing
GetZoneStatsData and GetZoneStatsV2's netspeed_active values can
exceed 2 billion, causing 32-bit integer overflow. Changed from
int32/uint32 to int (64-bit on modern systems) to handle large
network speed totals.

- Update sqlc column overrides to use int type
- Fix type compatibility in dnsanswers.go zoneTotals map
- Regenerate database code with new types

Fixes https://community.ntppool.org/t/error-message-displayed-on-the-monitoring-score-page/4063
2025-09-21 00:08:21 -07:00
61245cc77c scores: csv handler 2023-12-10 21:02:04 -08:00
e824274998 Add png graph handler
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-09 13:54:13 -08:00
27c8bc4776 Calculate netspeed points, too
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-16 02:40:50 -07:00
a89579f072 API for ratios of DNS answers oer server 2023-07-08 21:59:06 -07:00
18185090d1 wip 2023-05-07 00:01:00 -07:00