feat: add pprof for debuging
All checks were successful
Docker Build and Push / build-and-push (push) Successful in 3m51s

This commit is contained in:
2025-12-18 18:30:49 +07:00
parent 6451304ed7
commit 7bc5a01ba7
9 changed files with 150 additions and 23 deletions

View File

@@ -21,7 +21,7 @@ var Manager = PortManager{
}
func init() {
rawRange := utils.Getenv("ALLOWED_PORTS")
rawRange := utils.Getenv("ALLOWED_PORTS", "40000-41000")
splitRange := strings.Split(rawRange, "-")
if len(splitRange) != 2 {
Manager.AddPortRange(30000, 31000)