mirror of
https://github.com/Xevion/HATray.git
synced 2025-12-06 01:15:11 -06:00
fix: switch linux heartbeat ticker back to 30s
This commit is contained in:
@@ -55,7 +55,7 @@ func (s *linuxService) Run() error {
|
|||||||
}()
|
}()
|
||||||
|
|
||||||
// Setup heartbeat to systemd
|
// Setup heartbeat to systemd
|
||||||
heartbeat := time.NewTicker(2 * time.Second)
|
heartbeat := time.NewTicker(30 * time.Second)
|
||||||
defer heartbeat.Stop()
|
defer heartbeat.Stop()
|
||||||
|
|
||||||
// Start the service (backgrounded so that the service can still respond to systemd signals, the app layer is still designed for concurrency)
|
// Start the service (backgrounded so that the service can still respond to systemd signals, the app layer is still designed for concurrency)
|
||||||
|
|||||||
Reference in New Issue
Block a user