Explorar el Código

correct users limits env var

Abhishek Kondur hace 2 años
padre
commit
bba4db56fe
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      servercfg/serverconf.go

+ 1 - 1
servercfg/serverconf.go

@@ -680,7 +680,7 @@ func GetStunPort() int {
 func GetUserLimit() int {
 	var userslimit int
 	if os.Getenv("USERS_LIMIT") != "" {
-		userslimit, _ = strconv.Atoi(os.Getenv("USER_LIMIT"))
+		userslimit, _ = strconv.Atoi(os.Getenv("USERS_LIMIT"))
 	} else {
 		userslimit = config.Config.Server.UsersLimit
 	}