mirror of
https://github.com/csehviktor/status-monitor.git
synced 2025-08-08 18:06:14 +02:00
reduce send interval
This commit is contained in:
@@ -6,7 +6,7 @@ use crate::metrics::Metrics;
|
|||||||
pub mod metrics;
|
pub mod metrics;
|
||||||
|
|
||||||
pub const MQTT_TOPIC: &str = "system/metrics";
|
pub const MQTT_TOPIC: &str = "system/metrics";
|
||||||
pub const MQTT_SEND_INTERVAL: u64 = 5;
|
pub const MQTT_SEND_INTERVAL: u64 = 3;
|
||||||
|
|
||||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||||
pub struct StatusMessage {
|
pub struct StatusMessage {
|
||||||
|
|||||||
Reference in New Issue
Block a user