File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
packages/sst/src/constructs Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " sst " : patch
3
+ ---
4
+
5
+ feat(Job): increase max timeout to 36 hours
Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ export interface JobProps {
189
189
*/
190
190
memorySize ?: JobMemorySize ;
191
191
/**
192
- * The execution timeout. Minimum 5 minutes. Maximum 8 hours.
192
+ * The execution timeout. Minimum 5 minutes. Maximum 36 hours.
193
193
*
194
194
* @default "8 hours"
195
195
*
@@ -785,7 +785,7 @@ export class Job extends Construct implements SSTConstruct {
785
785
786
786
private normalizeTimeout ( timeout : Duration ) : CdkDuration {
787
787
const value = toCdkDuration ( timeout ) ;
788
- if ( value . toSeconds ( ) < 5 * 60 || value . toSeconds ( ) > 480 * 60 ) {
788
+ if ( value . toSeconds ( ) < 5 * 60 || value . toSeconds ( ) > 2160 * 60 ) {
789
789
throw new Error ( `Invalid timeout value for the ${ this . node . id } Job.` ) ;
790
790
}
791
791
return value ;
You can’t perform that action at this time.
0 commit comments