control: bump up time out

This commit is contained in:
Gyu-Ho Lee 2017-02-04 03:17:46 -08:00
parent c1f8337339
commit 6aac520457
No known key found for this signature in database
GPG Key ID: 1DDD39C7EB70C24C
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ func sendReq(ep string, req agentpb.Request, i int) (*agentpb.Response, error) {
// give enough timeout
// e.g. uploading logs takes longer
ctx, cancel := context.WithTimeout(context.Background(), time.Minute)
ctx, cancel := context.WithTimeout(context.Background(), 2*time.Minute)
resp, err := cli.Transfer(ctx, &req)
cancel()
if err != nil {