Skip to content

Commit

Permalink
Merge pull request #2147 from mazzi/feat_35_gb_nodes
Browse files Browse the repository at this point in the history
feat(launchpad): 35gb nodes
  • Loading branch information
mazzi authored Sep 27, 2024
2 parents 93e2ee4 + 6be5c30 commit c5ff07b
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 c5ff07b

Please sign in to comment.