Skip to content

Commit

Permalink
feat(launchpad): 35gb nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
mazzi committed Sep 27, 2024
1 parent 93e2ee4 commit 6be5c30
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion node-launchpad/src/components/popup/manage_nodes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use crate::{

use super::super::{utils::centered_rect_fixed, Component};

pub const GB_PER_NODE: usize = 5;
pub const GB_PER_NODE: usize = 35;
pub const MB: usize = 1000 * 1000;
pub const GB: usize = MB * 1000;
pub const MAX_NODE_COUNT: usize = 50;
Expand Down
5 changes: 4 additions & 1 deletion node-launchpad/src/components/status.rs
Original file line number Diff line number Diff line change
Expand Up @@ -742,9 +742,12 @@ impl Component for Status {
]);

let line2 = Line::from(vec![Span::styled(
"Each node will use 5GB of storage and a small amount of memory, \
format!(
"Each node will use {}GB of storage and a small amount of memory, \
CPU, and Network bandwidth. Most computers can run many nodes at once, \
but we recommend you add them gradually",
GB_PER_NODE
),
Style::default().fg(LIGHT_PERIWINKLE),
)]);

Expand Down

0 comments on commit 6be5c30

Please sign in to comment.