mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-24 08:54:05 +10:00
refactor: better resume two-way sync in case of MCP/API updates
This commit is contained in:
@@ -91,7 +91,7 @@ describe("rateLimitConfig", () => {
|
||||
});
|
||||
|
||||
it("provides reasonable mutation throughput for resume edits", () => {
|
||||
expect(rateLimitConfig.orpc.resumeMutations).toEqual({ maxRequests: 60, window: 60 * 1000 });
|
||||
expect(rateLimitConfig.orpc.resumeMutations).toEqual({ maxRequests: 300, window: 60 * 1000 });
|
||||
});
|
||||
|
||||
it("limits storage uploads more strictly than deletes", () => {
|
||||
|
||||
@@ -45,6 +45,6 @@ export const rateLimitConfig = {
|
||||
jobsTestConnection: { maxRequests: 10, window: 60 * 1000 },
|
||||
storageUpload: { maxRequests: 20, window: 60 * 1000 },
|
||||
storageDelete: { maxRequests: 30, window: 60 * 1000 },
|
||||
resumeMutations: { maxRequests: 60, window: 60 * 1000 },
|
||||
resumeMutations: { maxRequests: 300, window: 60 * 1000 },
|
||||
},
|
||||
} as const;
|
||||
|
||||
Reference in New Issue
Block a user