Compare commits
2 Commits
301c22be02
...
v1.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7474028b82 | ||
|
|
120b7c995a |
@@ -1,10 +1,11 @@
|
||||
run:
|
||||
tests: false
|
||||
skip-dirs:
|
||||
- vendor
|
||||
modules-download-mode: readonly
|
||||
allow-parallel-runners: true
|
||||
go: '1.21'
|
||||
issues:
|
||||
skip-dirs:
|
||||
- vendor
|
||||
output:
|
||||
sort-results: true
|
||||
linters:
|
||||
|
||||
5
util.go
5
util.go
@@ -69,11 +69,6 @@ func readConfFile(path string) (Config, error) {
|
||||
return Config{}, err
|
||||
}
|
||||
|
||||
if cfg.CmdDelay == 0 {
|
||||
cfg.CmdDelay = 20
|
||||
log.Printf("cmd_delay can not be 0, setting to %d milliseconds", cfg.CmdDelay)
|
||||
}
|
||||
|
||||
if cfg.LoopDelay == 0 {
|
||||
cfg.LoopDelay = 2000
|
||||
log.Printf("loop_delay set to %d milliseconds", cfg.LoopDelay)
|
||||
|
||||
Reference in New Issue
Block a user