aboutsummaryrefslogtreecommitdiff
path: root/common/src
diff options
context:
space:
mode:
Diffstat (limited to 'common/src')
-rw-r--r--common/src/api.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/common/src/api.rs b/common/src/api.rs
index 043de1b..0dc8f43 100644
--- a/common/src/api.rs
+++ b/common/src/api.rs
@@ -3,9 +3,7 @@
which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
Copyright (C) 2026 metamuffin <metamuffin.org>
*/
-use crate::{
- user::{NodeUserData, User},
-};
+use crate::user::{NodeUserData, User};
use std::{collections::BTreeMap, sync::Arc, time::Duration};
pub struct ApiNodeResponse {
@@ -64,8 +62,10 @@ pub struct StatsBin {
pub runtime: f64,
pub size: u64,
pub count: usize,
- pub max_runtime: (f64, String),
- pub max_size: (u64, String),
+ pub max_runtime: f64,
+ pub max_runtime_node: String,
+ pub max_size: u64,
+ pub max_size_node: String,
}
#[derive(Debug, Default, Clone)]