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 797ed36 commit 2247b1fCopy full SHA for 2247b1f
packages/redis-worker/src/fair-queue/tests/fairQueue.test.ts
@@ -909,16 +909,14 @@ describe("FairQueue", () => {
909
enabled: true,
910
blockingTimeoutSeconds: 1,
911
},
912
- concurrency: {
913
- groups: [
914
- {
915
- name: "tenant",
916
- extractGroupId: (q) => q.tenantId,
917
- getLimit: async () => 2, // Limit to 2 concurrent per tenant
918
- defaultLimit: 2,
919
- },
920
- ],
921
+ concurrencyGroups: [
+ {
+ name: "tenant",
+ extractGroupId: (q) => q.tenantId,
+ getLimit: async () => 2, // Limit to 2 concurrent per tenant
+ defaultLimit: 2,
+ },
+ ],
922
startConsumers: false,
923
});
924
0 commit comments