mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-23 12:32:40 +00:00
Move notifyBalanceLow and notifyAccountQuota to goroutines so the threshold checking logic (DB settings reads, threshold calculation, crossing detection) no longer blocks the request thread. Both are fire-and-forget with panic recovery and log-only error handling.
2 lines
11 B
Plaintext
2 lines
11 B
Plaintext
0.1.110.29
|