Increases maximum batch size (#100)

This commit is contained in:
Chris Anderson 2023-03-27 13:13:43 -05:00 committed by GitHub
parent f833de916b
commit bd472b9244
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,7 +58,7 @@ const segmentEventsRequest: JSONSchemaType<SegmentPostEventsRequest> = {
],
},
minItems: 1,
maxItems: 200,
maxItems: 1000,
} as any
router.post('/segment', async ctx => {
const events = validate(segmentEventsRequest, ctx.request.body)