Skip to content

Commit

Permalink
fix: rpush
Browse files Browse the repository at this point in the history
  • Loading branch information
zijiren233 committed Jan 5, 2025
1 parent c62b4ad commit 93068f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/aiproxy/common/rpmlimit/rate-limit.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ if remove_count > 0 then
redis.call('LTRIM', key, remove_count, -1)
end
redis.call('LPUSH', key, current_time)
redis.call('RPUSH', key, current_time)
redis.call('PEXPIRE', key, window)
Expand Down

0 comments on commit 93068f4

Please sign in to comment.