Skip to content

Commit

Permalink
Merge pull request #199 from linkernetworks/hwchiu/vx-223
Browse files Browse the repository at this point in the history
[Bug] Change the timeout to 10 seconds
  • Loading branch information
John-Lin authored Jul 27, 2018
2 parents b274add + b13a537 commit cd3d82d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/networkcontroller/network_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func New(serverAddress string) (*NetworkController, error) {
return nil, err
}

ctx, _ := context.WithTimeout(context.Background(), time.Second)
ctx, _ := context.WithTimeout(context.Background(), 10*time.Second)

return &NetworkController{
ClientCtl: pb.NewNetworkControlClient(conn),
Expand Down

0 comments on commit cd3d82d

Please sign in to comment.