Skip to content

Commit

Permalink
Extend HTTP timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
ericvolp12 committed Oct 3, 2023
1 parent bdc6134 commit d56fdbf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cmd/gosky/debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
"strings"
"sync"
"syscall"
"time"

"github.com/bluesky-social/indigo/api/atproto"
comatproto "github.com/bluesky-social/indigo/api/atproto"
Expand Down Expand Up @@ -816,10 +817,16 @@ var debugCompareReposCmd = &cli.Command{

xrpc1 := xrpc.Client{
Host: cctx.String("host-1"),
Client: &http.Client{
Timeout: 15 * time.Minute,
},
}

xrpc2 := xrpc.Client{
Host: cctx.String("host-2"),
Client: &http.Client{
Timeout: 15 * time.Minute,
},
}

var rep1 *repo.Repo
Expand Down

0 comments on commit d56fdbf

Please sign in to comment.