GluuFederation / gluu-passport

Gluu interface to Passport.js to support social login and inbound identity.
Apache License 2.0
6 stars 17 forks source link

feat(production.js): rate limit config from env #452

Closed kdhttps closed 2 years ago

kdhttps commented 2 years ago

close #450

In production environment, rate limit configurations are loaded from ENV variables: PASSPORT_RATE_LIMIT_WINDOW_MS and PASSPORT_RATE_LIMIT_MAX_REQUEST_ALLOW, if none, default values are loaded.

codecov[bot] commented 2 years ago

Codecov Report

Merging #452 (2b4bbf3) into master (2e32cd9) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #452   +/-   ##
=======================================
  Coverage   78.58%   78.58%           
=======================================
  Files          36       36           
  Lines         780      780           
=======================================
  Hits          613      613           
  Misses        167      167           
Impacted Files Coverage Δ
config/production.js 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2e32cd9...2b4bbf3. Read the comment docs.

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication