Skip to content

Commit

Permalink
fix: fix init
Browse files Browse the repository at this point in the history
  • Loading branch information
WTIFS committed Aug 21, 2024
1 parent 974bb8d commit 5e7bc2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/ratelimiter/bbr/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,5 @@ func (g *BBRPlugin) InitQuota(criteria *ratelimiter.InitCriteria) ratelimiter.Qu

// init 注册插件
func init() {
plugin.RegisterPlugin(&BBRPlugin{})
plugin.RegisterConfigurablePlugin(&BBRPlugin{}, &Config{})
}

0 comments on commit 5e7bc2e

Please sign in to comment.