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 ""
|
ENV GOPATH ""
|
||||||
|
|
||||||
RUN apk add git
|
RUN apk add git
|
||||||
|
@ -2,12 +2,6 @@
|
|||||||
|
|
||||||
A side project to collect, transport and store data from a Goodwe solar inverter.
|
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
|
## License
|
||||||
|
|
||||||
Licensed under the MIT license. See the LICENSE file.
|
Licensed under the MIT license. See the LICENSE file.
|
||||||
|
@ -19,9 +19,9 @@ type Conn interface {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
maxAttempts = 4
|
maxAttempts = 3
|
||||||
timeout = time.Second * 10
|
timeout = time.Second * 5
|
||||||
readBufferSizeBytes = 8_192
|
readBufferSizeBytes = 4_096
|
||||||
)
|
)
|
||||||
|
|
||||||
// Send writes the command to the provided Writer, and reads and validates the
|
// Send writes the command to the provided Writer, and reads and validates the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user