mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-11 23:47:32 +08:00
merge: v3.8.4
This commit is contained in:
parent
6f1cb995e9
commit
1a67f199dc
@ -97,6 +97,7 @@ func newGinRouter(ctx context.Context, client discovery.SvcDiscoveryRegistry, cf
|
|||||||
case BestSpeed:
|
case BestSpeed:
|
||||||
r.Use(gzip.Gzip(gzip.BestSpeed))
|
r.Use(gzip.Gzip(gzip.BestSpeed))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Use rate limiter middleware
|
// Use rate limiter middleware
|
||||||
if cfg.API.RateLimiter.Enable {
|
if cfg.API.RateLimiter.Enable {
|
||||||
rl := &RateLimiter{
|
rl := &RateLimiter{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user