Skip to content

Commit b1ae1f9

Browse files
authored
Commit context extension
* extend image commit timeout to 5 hours
1 parent c7764d7 commit b1ae1f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

builder/orka/step_create_image.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ func (s *stepCreateImage) Run(ctx context.Context, state multistep.StateBag) mul
2323
ui := state.Get("ui").(packer.Ui)
2424
vmid := state.Get("vmid").(string)
2525
token := state.Get("token").(string)
26-
ctx, cancel := context.WithTimeout(context.Background(), 3*time.Hour)
26+
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Hour)
27+
2728

2829
defer cancel()
2930

0 commit comments

Comments
 (0)