Browse Source

v0.3.0-unstable9

Yann Stepienik 2 years ago
parent
commit
9d6773f27b
2 changed files with 3 additions and 3 deletions
  1. 1 1
      package.json
  2. 2 2
      src/proxy/shield.go

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "cosmos-server",
-  "version": "0.3.0-unstable8",
+  "version": "0.3.0-unstable9",
   "description": "",
   "main": "test-server.js",
   "bugs": {

+ 2 - 2
src/proxy/shield.go

@@ -240,10 +240,10 @@ func SmartShieldMiddleware(policy utils.SmartShieldPolicy) func(http.Handler) ht
 			policy.PolicyStrictness = 2 // NORMAL
 		}
 		if(policy.PerUserSimultaneous == 0) {
-			policy.PerUserSimultaneous = 12
+			policy.PerUserSimultaneous = 10
 		}
 		if(policy.MaxGlobalSimultaneous == 0) {
-			policy.MaxGlobalSimultaneous = 160
+			policy.MaxGlobalSimultaneous = 200
 		}
 		if(policy.PrivilegedGroups == 0) {
 			policy.PrivilegedGroups = utils.ADMIN