Skip to content

Commit

Permalink
fix: http client add request timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
fangchengjin committed Nov 17, 2022
1 parent 244e66b commit 37e3e3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/TalosClientFactory.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ func NewTalosClientFactory(ClientConfig *TalosClientConfig,
time.Duration(ClientConfig.ClientConnTimeout())*time.Millisecond)
},
},
Timeout: time.Duration(ClientConfig.ClientTimeout()) * time.Millisecond,
}
return &TalosClientFactory{
talosClientConfig: ClientConfig,
Expand Down

0 comments on commit 37e3e3f

Please sign in to comment.