Squashed diff from mh-backend-shard

This commit is contained in:
Maciej Hirsz
2021-06-08 12:17:00 +02:00
parent 505e5a387e
commit 8db384bed3
30 changed files with 1688 additions and 457 deletions
+3 -5
View File
@@ -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;