Skip to content

Commit

Permalink
Review feedback: comment expansion.
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixMcFelix committed Dec 6, 2023
1 parent 49bd634 commit 112e9f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nexus/src/app/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ pub(crate) const MAX_NICS_PER_INSTANCE: usize = 8;

// XXX: Might want to recast as max *floating* IPs, we have at most one
// ephemeral (so bounded in saga by design).
// The value here is arbitrary, but we need *a* limit for the instance
// create saga to have a bounded DAG. We might want to only enforce
// this during instance create (rather than live attach) in future.
pub(crate) const MAX_EXTERNAL_IPS_PER_INSTANCE: usize = 32;
pub(crate) const MAX_EPHEMERAL_IPS_PER_INSTANCE: usize = 1;

Expand Down

0 comments on commit 112e9f2

Please sign in to comment.