ci: Fix flaky tests (#8468)
This commit is contained in:
@@ -466,7 +466,7 @@ export function promiseEnforceMasterKeyAccess(request) {
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
export const addRateLimit = (route, config) => {
|
||||
export const addRateLimit = (route, config, cloud) => {
|
||||
if (typeof config === 'string') {
|
||||
config = Config.get(config);
|
||||
}
|
||||
@@ -545,6 +545,7 @@ export const addRateLimit = (route, config) => {
|
||||
},
|
||||
store: redisStore.store,
|
||||
}),
|
||||
cloud,
|
||||
});
|
||||
Config.put(config);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user