Skip to content

Commit

Permalink
fix: hostd bandwidth labels
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfreska committed Feb 20, 2024
1 parent ce05740 commit fdcfcb6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/beige-walls-smoke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'hostd': patch
---

The bandwidth settings for egress and ingress now have clearer descriptions.
8 changes: 6 additions & 2 deletions apps/hostd/contexts/config/fields.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ export function getFields({
suggestion: rates ? usdInScRoundedToNearestTen(10, rates) : undefined,
suggestionTip:
'The suggested egress price in siacoins for egress per TB.',
description: <>{`The host's egress price in siacoins per TB.`}</>,
description: (
<>{`The host's egress price in siacoins per TB. Egress means bandwidth usage by outgoing download traffic.`}</>
),
validation: {
required: 'required',
},
Expand All @@ -100,7 +102,9 @@ export function getFields({
suggestion: rates ? usdInScRoundedToNearestTen(0.05, rates) : undefined,
suggestionTip: 'The suggested ingress price in siacoins per TB.',
decimalsLimitSc: scDecimalPlaces,
description: <>{`The host's ingress price in siacoins per TB.`}</>,
description: (
<>{`The host's ingress price in siacoins per TB. Ingress means bandwidth usage by incoming upload traffic.`}</>
),
validation: {
required: 'required',
},
Expand Down

0 comments on commit fdcfcb6

Please sign in to comment.