We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d55d358 commit 22ef4adCopy full SHA for 22ef4ad
apps/webapp/app/services/engineRateLimit.server.ts
@@ -24,8 +24,8 @@ export const engineRateLimiter = authorizationRateLimitMiddleware({
24
stale: 60_000 * 20, // Date is stale after 20 minutes
25
},
26
pathMatchers: [/^\/engine/],
27
- // Allow /api/v1/tasks/:id/callback/:secret
28
- pathWhiteList: [],
+ // Regex allow any path starting with /engine/v1/worker-actions/
+ pathWhiteList: [/^\/engine\/v1\/worker-actions\/.*/],
29
log: {
30
rejections: env.RUN_ENGINE_RATE_LIMIT_REJECTION_LOGS_ENABLED === "1",
31
requests: env.RUN_ENGINE_RATE_LIMIT_REQUEST_LOGS_ENABLED === "1",
0 commit comments