v0.3.0-unstable7
This commit is contained in:
parent
99736aa2a9
commit
c9cea9b6b9
|
@ -185,7 +185,7 @@ const AuthLogin = () => {
|
|||
label={<Typography variant="h6">Keep me sign in</Typography>}
|
||||
/>*/}
|
||||
<Link variant="h6" component={RouterLink} to="/ui/forgot-password" color="primary">
|
||||
Forgot Password?
|
||||
Forgot Your Password?
|
||||
</Link>
|
||||
</Stack>
|
||||
</Grid>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "cosmos-server",
|
||||
"version": "0.3.0-unstable6",
|
||||
"version": "0.3.0-unstable7",
|
||||
"description": "",
|
||||
"main": "test-server.js",
|
||||
"bugs": {
|
||||
|
|
|
@ -222,7 +222,7 @@ func StartServer() {
|
|||
srapi.Use(proxy.SmartShieldMiddleware(
|
||||
utils.SmartShieldPolicy{
|
||||
Enabled: true,
|
||||
PerUserSimultaneous: 3,
|
||||
PerUserSimultaneous: 8,
|
||||
MaxGlobalSimultaneous: 12,
|
||||
PolicyStrictness: 1,
|
||||
PerUserRequestLimit: 5000,
|
||||
|
|
|
@ -240,7 +240,7 @@ func SmartShieldMiddleware(policy utils.SmartShieldPolicy) func(http.Handler) ht
|
|||
policy.PolicyStrictness = 2 // NORMAL
|
||||
}
|
||||
if(policy.PerUserSimultaneous == 0) {
|
||||
policy.PerUserSimultaneous = 5
|
||||
policy.PerUserSimultaneous = 8
|
||||
}
|
||||
if(policy.MaxGlobalSimultaneous == 0) {
|
||||
policy.MaxGlobalSimultaneous = 50
|
||||
|
|
Loading…
Reference in a new issue