-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
官方没出 egg-ratelimit 吗 #3382
Comments
内存存储没意义啊,多进程和集群情况下又不能共享。 |
需求2 3,egg 有推荐的库吗 |
可以看下 Koa 社区有没有类似的库,直接引入即可。 |
ratelimit 这个库需要实例话一个 redis, |
@musicode 你直接把 egg-redis 里的实例传进去不就行了 |
看看能否基于这个扩展 https://github.com/eggjs/egg-guardian |
这个东西我试了,没用明白。。。有人提issue,也没人理。。。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我找了一些第三方的库,包括死马写的,都不是很合适,为啥都不支持内存存储呢?
我的需求很简单,大概就以下几个:
不是很理解为啥官方为啥没出这个库,难道这个需求不常见吗
The text was updated successfully, but these errors were encountered: