fix: Rate limiting across multiple servers via Redis not working (#8469)
This commit is contained in:
@@ -483,9 +483,9 @@ export const addRateLimit = (route, config) => {
|
||||
store: null,
|
||||
connected: false,
|
||||
};
|
||||
if (route.redisrUrl) {
|
||||
if (route.redisUrl) {
|
||||
const client = createClient({
|
||||
url: route.redisrUrl,
|
||||
url: route.redisUrl,
|
||||
});
|
||||
redisStore.connectionPromise = async () => {
|
||||
if (redisStore.connected) {
|
||||
|
||||
Reference in New Issue
Block a user