mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-05-31 00:01:06 +00:00
Squashed diff from mh-backend-shard
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
use std::sync::Arc;
|
||||
|
||||
use crate::types::{
|
||||
use shared::types::{
|
||||
Block, BlockDetails, NodeDetails, NodeHardware, NodeIO, NodeId, NodeLocation, NodeStats,
|
||||
Timestamp,
|
||||
};
|
||||
use crate::util::now;
|
||||
use shared::util::now;
|
||||
use shared::node::SystemInterval;
|
||||
|
||||
pub mod connector;
|
||||
pub mod message;
|
||||
|
||||
use message::SystemInterval;
|
||||
|
||||
/// Minimum time between block below broadcasting updates to the browser gets throttled, in ms.
|
||||
const THROTTLE_THRESHOLD: u64 = 100;
|
||||
|
||||
Reference in New Issue
Block a user