Skip to content

Commit

Permalink
add underscore between prefix and name
Browse files Browse the repository at this point in the history
  • Loading branch information
jenky committed Mar 4, 2024
1 parent 5b076bb commit 439f823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Limit.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function key(): string
{
$prefix = 'fansipan_rate_limit';

return $prefix.''.$this->name;
return $prefix.'_'.$this->name;
}

public function maxAttempts(bool $includeThreshold = true): int
Expand Down

0 comments on commit 439f823

Please sign in to comment.