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 27be109 commit 3ba94baCopy full SHA for 3ba94ba
src/controllers/scrapeJob.js
@@ -180,7 +180,9 @@ function ScrapeJobController(context) {
180
if (!jobs || jobs.length === 0) {
181
return ok([]);
182
}
183
- return ok(jobs);
+
184
+ // return the first max 100 jobs
185
+ return ok(jobs.slice(0, 100));
186
} catch (error) {
187
log.error(`Failed to fetch scrape jobs by baseURL: ${decodedBaseURL}, ${error.message}`);
188
return createErrorResponse(error);
0 commit comments