v0.3.0-unstable7

This commit is contained in:
Yann Stepienik 2023-04-30 23:24:54 +01:00
parent 99736aa2a9
commit c9cea9b6b9
4 changed files with 4 additions and 4 deletions

View file

@ -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>

View file

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

View file

@ -222,7 +222,7 @@ func StartServer() {
srapi.Use(proxy.SmartShieldMiddleware(
utils.SmartShieldPolicy{
Enabled: true,
PerUserSimultaneous: 3,
PerUserSimultaneous: 8,
MaxGlobalSimultaneous: 12,
PolicyStrictness: 1,
PerUserRequestLimit: 5000,

View file

@ -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