Skip to content

Commit e4f4a06

Browse files
Update src/v2/providers/scheduler.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 270c39c commit e4f4a06

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/v2/providers/scheduler.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,11 @@ export interface ScheduleOptions extends options.GlobalOptions {
113113
/** The timezone that the schedule executes in. */
114114
timeZone?: timezone | Expression<string> | ResetValue;
115115

116-
/** The deadline for job attempts. Defaults to 180 seconds. */
116+
/**
117+
* The deadline for job attempts in seconds. If the request handler does not respond by this deadline,
118+
* the request is cancelled and the attempt is marked as a `DEADLINE_EXCEEDED` failure.
119+
* The value must be between 15 and 1800. Defaults to 180.
120+
*/
117121
attemptDeadlineSeconds?: number | Expression<number> | ResetValue;
118122

119123
/** The number of retry attempts for a failed run. */

0 commit comments

Comments
 (0)