Skip to content

Commit

Permalink
added redis based rate limiter. feathers wiring refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
theorm committed Apr 5, 2024
1 parent b5b9b01 commit bebb1fb
Show file tree
Hide file tree
Showing 24 changed files with 857 additions and 503 deletions.
5 changes: 5 additions & 0 deletions config/default.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
"redis": {
"enable": false
},
"rateLimiter": {
"enabled": false,
"capacity": 10,
"refillRate": 0.016
},
"appHooks": {
"alwaysRequired": false
},
Expand Down
207 changes: 121 additions & 86 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
"swagger-ui-dist": "5.12.0",
"ajv": "8.12.0",
"async": "^2.6.1",
"async-redis": "^2.0.0",
"aws-sdk": "^2.395.0",
"axios": "^1.6.7",
"body-parser": "^1.18.3",
Expand All @@ -78,7 +77,7 @@
"fast-ratelimit": "^3.0.0",
"fast-xml-parser": "^4.3.4",
"feathers-authentication-hooks": "^1.0.2",
"feathers-hooks-common": "^6.1.3",
"feathers-hooks-common": "8.1.2",
"feathers-memory": "^2.2.0",
"feathers-sequelize": "^6.0.1",
"feathers-solr": "^3.1.0",
Expand Down Expand Up @@ -114,6 +113,7 @@
"passport-github": "^1.1.0",
"pg": "^8.11.3",
"pg-hstore": "^2.3.2",
"redis": "4.6.13",
"sequelize": "^6.21.0",
"serve-favicon": "^2.5.0",
"sharp": "^0.32.6",
Expand Down
Loading

0 comments on commit bebb1fb

Please sign in to comment.