Store for typeORM #442
Replies: 5 comments 6 replies
-
Cool! I'll get it listed in the docs sometime soon. |
Beta Was this translation helpful? Give feedback.
-
I took a quick look at the code and saw that the store doesn't have a (This last part, putting the value at |
Beta Was this translation helpful? Give feedback.
-
One last thing - the same offer I made to other folks who have create express-rate-limit stores: would you like to move the repo to the express-rate-limit org, and have @gamemaker1 and I help support and maintain it? No pressure, I just wanted to make the offer. |
Beta Was this translation helpful? Give feedback.
-
Ah, ok. i will add the prefix,. i did see it, but i assumed it was something else. thanks
Is ok, i can maintain it, but attest to that, i kinda find it odd how the scope of responsibility of clearing the entries from the store is passed down to the store itself. when i was wiriting the store. i expected the lib to call I was suprised to see that the responsiblity to actually clear out the entries in the store was down to the store itself. I expected I thought to my self, why am i returning the Maybe it would be better to make it clear that yes, you DO return but as a other argument, it could be said that the responsiblity of keeping track of the timer should be the store due to clustered or federated node instances. |
Beta Was this translation helpful? Give feedback.
-
I have created a PR for the store to include the prefix. if you can check and ensure that i have understood correctly, i would apppreicate it <3 https://github.com/VictoriqueMoe/typeorm-rate-limit-store/pull/6/files |
Beta Was this translation helpful? Give feedback.
-
Hi, i created a store for the TypeORM lib.
this should, in theroy allow anyone to use any DB supported by typeORM. https://www.npmjs.com/package/typeorm-rate-limit-store
Beta Was this translation helpful? Give feedback.
All reactions