Skip to content

feat: Specfiy max slots - #4

Merged
ausias-armesto merged 3 commits into
mainfrom
ausias/max-slots-wizard-field
Oct 8, 2026
Merged

ausias-armesto merged 3 commits into
mainfrom
ausias/max-slots-wizard-field

Conversation

@ausias-armesto

Copy link
Copy Markdown
Collaborator

Add the limitation of max slots

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The pool calculation permits one extra peer, and input validation accepts values outside the documented range.

Review effort: Balanced
Findings: 2 Medium severity

Open (2)
What changed in this PR

Adds a configurable limit for concurrent VPN peers.

Changes:

  • Adds MAX_SLOTS setup and Compose configuration.
  • Uses it to calculate the WireGuard client pool endpoint.
File Description
setup-wizard.yml Adds maximum-slot configuration.
gnosisvpn-server/​entrypoint.sh Calculates the address-pool endpoint.
docker-compose.yml Sets the default to four slots.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread gnosisvpn-server/entrypoint.sh Outdated
Comment thread setup-wizard.yml Outdated
ausias-armesto and others added 2 commits October 1, 2026 12:03
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@ausias-armesto
ausias-armesto merged commit 959da14 into main Oct 8, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants