Skip to content

Add per-project fleet limit - #4549

Merged
r4victor merged 1 commit into
masterfrom
pr_fleets_per_project_limit
Nov 27, 2026
Merged

r4victor merged 1 commit into
masterfrom
pr_fleets_per_project_limit

Conversation

@r4victor

Copy link
Copy Markdown
Collaborator

Lets servers cap how many fleets a project can have, to prevent users from creating thousands of fleets.

  • Add DSTACK_SERVER_FLEETS_PER_PROJECT_LIMIT: when set, creating a fleet fails once the project has that many non-deleted fleets (terminating fleets count); unset means no limit.
  • Check the limit under the existing per-project fleet creation lock, so concurrent applies cannot exceed it.

@r4victor
r4victor merged commit 985d74c into master Nov 27, 2026
26 checks passed
@r4victor
r4victor deleted the pr_fleets_per_project_limit branch November 27, 2026 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant