File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ func main() {
115115 }()
116116
117117 if cfg .Node == "Xally" {
118- webhookTicker := time .NewTicker (1 * time .Minute )
118+ webhookTicker := time .NewTicker (6 * time .Minute )
119119
120120 go func () {
121121 for {
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import (
1212 "time"
1313)
1414
15- const version = "1.1.1 "
15+ const version = "1.1.2 "
1616
1717type Config struct {
1818 Node string `json:"node"`
Original file line number Diff line number Diff line change @@ -124,11 +124,14 @@ func CheckRunning(config *config.Config) {
124124 }
125125
126126 if ! allGood {
127- message := "🚨 **Xally** Node Malfunction Detected 🚨\n \n "
127+ timestamp := time .Now ().UTC ().Format ("2006-01-02 15:04:05" )
128+ message := "-----------------------------------------------------------------------\n "
129+ message += fmt .Sprintf ("🚨 **Xally** Node Malfunction Detected @ %s UTC 🚨\n \n " , timestamp )
128130 message += fmt .Sprintf ("👑 **Owner**: %s\n " , config .Owner )
129131 message += fmt .Sprintf ("🌐 **IPv4**: %s\n " , config .IPv4 )
130132 message += fmt .Sprintf ("🌐 **IPv6**: %s\n " , config .IPv6 )
131133 message += fmt .Sprintf ("⚙️ **Dashboard Version**: %s\n " , config .NodeboxDashboardVersion )
134+ message += "-----------------------------------------------------------------------\n "
132135
133136 utils .SendAlert (message )
134137 } else {
You can’t perform that action at this time.
0 commit comments