Skip to content

Commit

Permalink
Merge pull request emqx#10686 from lafirest/fix/limiter_burst_type
Browse files Browse the repository at this point in the history
fix(limiter): adjust type for compatibility
  • Loading branch information
zhongwencool committed May 12, 2023
2 parents 134ea06 + 95a67f3 commit f94d280
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/emqx/src/emqx_limiter/src/emqx_limiter_schema.erl
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
-type limiter_id() :: atom().
-type bucket_name() :: atom().
-type rate() :: infinity | float().
-type burst_rate() :: 0 | float().
-type burst_rate() :: number().
%% this is a compatible type for the deprecated field and type `capacity`.
-type burst() :: burst_rate().
%% the capacity of the token bucket
Expand Down

0 comments on commit f94d280

Please sign in to comment.