Skip to content

Commit

Permalink
reduce api timeout to 10s
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrossbach committed Aug 8, 2024
1 parent 7c09a7d commit 500ff7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/growatt/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func NewClient(username string, password string) *Client {
Transport: nil,
CheckRedirect: nil,
Jar: jar,
Timeout: 30 * time.Second,
Timeout: 10 * time.Second,
},
username: username,
password: hashPassword(password),
Expand Down

0 comments on commit 500ff7c

Please sign in to comment.