Skip to content

Commit b2e0719

Browse files
committed
Increase firecracker contorl timeout to allow longer snapshot creations and restorations
Signed-off-by: Amory Hoste <[email protected]>
1 parent 4519171 commit b2e0719

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

runtime/service.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1740,9 +1740,9 @@ func (s *service) monitorVMExit() {
17401740

17411741
func (s *service) createHTTPControlClient() {
17421742
u := &httpunix.Transport{
1743-
DialTimeout: 100 * time.Millisecond,
1744-
RequestTimeout: 10 * time.Second,
1745-
ResponseHeaderTimeout: 10 * time.Second,
1743+
DialTimeout: 1000 * time.Millisecond,
1744+
RequestTimeout: 60 * time.Second,
1745+
ResponseHeaderTimeout: 60 * time.Second,
17461746
}
17471747
u.RegisterLocation("firecracker", s.shimDir.FirecrackerSockPath())
17481748

0 commit comments

Comments
 (0)