Skip to content

Commit

Permalink
identity: drop default HTTP timeout from 15s to 10s
Browse files Browse the repository at this point in the history
  • Loading branch information
bnewbold committed Nov 15, 2024
1 parent 4fc9767 commit 205eddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atproto/identity/identity.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func DefaultDirectory() Directory {
base := BaseDirectory{
PLCURL: DefaultPLCURL,
HTTPClient: http.Client{
Timeout: time.Second * 15,
Timeout: time.Second * 10,
Transport: &http.Transport{
// would want this around 100ms for services doing lots of handle resolution. Impacts PLC connections as well, but not too bad.
IdleConnTimeout: time.Millisecond * 1000,
Expand Down

0 comments on commit 205eddb

Please sign in to comment.