Changes
This commit is contained in:
+1
-1
@@ -164,7 +164,7 @@ try
|
||||
});
|
||||
|
||||
// Policy: CV matcher, expensive because it calls AI APIs.
|
||||
options.AddPolicy("rag", httpContext =>
|
||||
options.AddPolicy("cv-matcher", httpContext =>
|
||||
{
|
||||
var ip = httpContext.Connection.RemoteIpAddress?.ToString() ?? "unknown";
|
||||
return RateLimitPartition.GetFixedWindowLimiter(
|
||||
|
||||
Reference in New Issue
Block a user