Skip to content

Commit

Permalink
change sec
Browse files Browse the repository at this point in the history
  • Loading branch information
leafney committed Jan 14, 2023
1 parent bbefd53 commit 7b16812
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@
*.log
.DS_Store

monitor.yaml
monitor.yaml
dist
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.17

require (
github.com/eclipse/paho.mqtt.golang v1.4.2
github.com/leafney/rose v0.1.9
github.com/leafney/rose v0.2.0
github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.14.0
)
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0=
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/leafney/rose v0.1.9 h1:50/30uBW0h4xkkw64/PavU85/mCvjDYef3uxLXtwanI=
github.com/leafney/rose v0.1.9/go.mod h1:ce+MjXsq4miXeex4fepJNBRubWcZQarV3iEWZGRFo8k=
github.com/leafney/rose v0.2.0 h1:yw8AlVWx4aSbcggZLuyOkzH4tt/KVBa7BggV7LsOblk=
github.com/leafney/rose v0.2.0/go.mod h1:ce+MjXsq4miXeex4fepJNBRubWcZQarV3iEWZGRFo8k=
github.com/magiconair/properties v1.8.6 h1:5ibWZ6iY0NctNGWo87LalDlEZ6R41TqbbDamhfG/Qzo=
github.com/magiconair/properties v1.8.6/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60=
github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY=
Expand Down
2 changes: 1 addition & 1 deletion pkg/mqt/mqtt.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func Publish(client mqtt.Client, topic string) {
token := client.Publish(topic, 0, true, value)
token.Wait()

time.Sleep(30 * time.Second)
time.Sleep(60 * time.Second)
}
}()

Expand Down

0 comments on commit 7b16812

Please sign in to comment.