Merge branch 'feature-rate-limiting' into feature-redis-cache

This commit is contained in:
Tanya Byrne
2020-08-18 18:49:23 +01:00
3 changed files with 2 additions and 9 deletions

View File

@@ -28,6 +28,8 @@ REDIS_PASSWORD=null
####################################################################################################
# Rate Limiting
RATE_LIMIT_TYPE="redis"
CONSUMED_POINTS_LIMIT=5
CONSUMED_RESET_DURATION=1
EXEC_EVENLY=true

8
api/package-lock.json generated
View File

@@ -5294,14 +5294,6 @@
"resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-2.0.2.tgz",
"integrity": "sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA=="
},
"node-cache": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/node-cache/-/node-cache-5.1.2.tgz",
"integrity": "sha512-t1QzWwnk4sjLWaQAS8CHgOJ+RAfmHpxFWmc36IWTiWHQfs0w5JDMBS1b1ZxQteo0vVVuWJvIUKHDkkeK7vIGCg==",
"requires": {
"clone": "2.x"
}
},
"node-exceptions": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/node-exceptions/-/node-exceptions-4.0.1.tgz",

View File

@@ -103,7 +103,6 @@
"lodash": "^4.17.19",
"ms": "^2.1.2",
"nanoid": "^3.1.12",
"node-cache": "^5.1.2",
"nodemailer": "^6.4.11",
"ora": "^4.1.1",
"otplib": "^12.0.1",