feat(downloads): add option to limit amount of items (#3205)
This commit is contained in:
1 parent
f7e5e823d5
commit
2dc871e531
19 files changed
+117
-87
No files matched your search
@@ -8,7 +8,9 @@ export const downloadsJob = createCronJob("downloads", EVERY_5_SECONDS).withCall
|
||||
createRequestIntegrationJobHandler(downloadClientRequestHandler.handler, {
|
||||
widgetKinds: ["downloads"],
|
||||
getInput: {
|
||||
downloads: () => ({}),
|
||||
downloads: (options) => ({
|
||||
limit: options.limitPerIntegration,
|
||||
}),
|
||||
},
|
||||
}),
|
||||
);
|
||||
Reference in new issue
Block a user