Skip to content

Commit

Permalink
removed Solis http timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
fss committed Feb 28, 2020
1 parent 0665030 commit 606dfea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/solis_inverter_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ class SolisInverterClient {
this._client = axios.create({
baseURL: `http://${address}`,
auth: { username, password },
responseType: 'document',
timeout: 4900 // slightly below 5 seconds
responseType: 'document'
})

/**
Expand Down

0 comments on commit 606dfea

Please sign in to comment.