Private
Public Access
1
0
Ask Bjørn Hansen 196f90a2b9
All checks were successful
continuous-integration/drone/push Build is passing
fix(db): use int for netspeed_active to prevent overflow
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
2025-08-03 16:06:59 -07:00
2025-08-03 16:06:59 -07:00
wip
2023-05-07 00:01:00 -07:00
2025-03-08 10:21:44 -08:00
2023-07-08 22:09:31 -07:00
2024-12-27 17:38:58 -08:00
2025-01-17 21:03:31 -08:00
2025-09-20 10:29:53 -07:00
2025-09-20 10:29:53 -07:00
2023-04-18 21:54:54 -07:00
wip
2023-05-07 00:01:00 -07:00
2025-09-20 10:29:53 -07:00
2025-09-20 10:29:53 -07:00
Description
No description provided
MIT 449 KiB
Languages
Go 98.5%
Shell 0.7%
Dockerfile 0.5%
Makefile 0.3%