Skip to content

Commit bad1d95

Browse files
YunchuWangCopilot
andauthored
Update packages/durabletask-js-export-history/src/models/export-job-creation-options.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent d5760bc commit bad1d95

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/durabletask-js-export-history/src/models/export-job-creation-options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export function createExportJobCreationOptions(
116116
// Validate maxInstancesPerBatch range
117117
if (
118118
options.maxInstancesPerBatch !== undefined &&
119-
(options.maxInstancesPerBatch <= 0 || options.maxInstancesPerBatch >= 1001)
119+
(options.maxInstancesPerBatch <= 0 || options.maxInstancesPerBatch > 1000)
120120
) {
121121
throw new ExportJobClientValidationError(
122122
"MaxInstancesPerBatch must be between 1 and 1000.",

0 commit comments

Comments
 (0)