mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-09-24 16:05:44 +08: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.