Compare commits
No commits in common. "6a8af667c361310484380b433a412a2aa626b40a" and "1287efa8a3a6cb03fe25656e3a9e5a1a3606dec1" have entirely different histories.
6a8af667c3
...
1287efa8a3
@ -1,4 +1,4 @@
|
||||
FROM golang:1.20-alpine3.15 as go-builder
|
||||
FROM golang:1.19-alpine3.15 as go-builder
|
||||
ENV GOPATH ""
|
||||
|
||||
RUN apk add git
|
||||
|
@ -2,12 +2,6 @@
|
||||
|
||||
A side project to collect, transport and store data from a Goodwe solar inverter.
|
||||
|
||||
## Build
|
||||
|
||||
```
|
||||
GOOS=linux GOARCH=arm go build -o solar-toolkit-daemon ./cmd/daemon
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
Licensed under the MIT license. See the LICENSE file.
|
||||
|
@ -19,9 +19,9 @@ type Conn interface {
|
||||
}
|
||||
|
||||
const (
|
||||
maxAttempts = 4
|
||||
timeout = time.Second * 10
|
||||
readBufferSizeBytes = 8_192
|
||||
maxAttempts = 3
|
||||
timeout = time.Second * 5
|
||||
readBufferSizeBytes = 4_096
|
||||
)
|
||||
|
||||
// Send writes the command to the provided Writer, and reads and validates the
|
||||
|
Loading…
x
Reference in New Issue
Block a user