Skip to content

Commit

Permalink
fixes default header name
Browse files Browse the repository at this point in the history
  • Loading branch information
spencergibb committed Jun 13, 2018
1 parent 1029898 commit 64a33e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public class RedisRateLimiter extends AbstractRateLimiter<RedisRateLimiter.Confi
private String replenishRateHeader = REPLENISH_RATE_HEADER;

/** The name of the header that returns the burst capacity configuration. */
private String burstCapacityHeader = REMAINING_HEADER;
private String burstCapacityHeader = BURST_CAPACITY_HEADER;

public RedisRateLimiter(ReactiveRedisTemplate<String, String> redisTemplate,
RedisScript<List<Long>> script, Validator validator) {
Expand Down

0 comments on commit 64a33e7

Please sign in to comment.