Skip to content

feat(admin): adiciona tiers menores de CPU/memória nos limites de recursos#1

Merged
JohnPitter merged 1 commit into
mainfrom
feat/resource-limits-smaller-tiers
Jun 1, 2026
Merged

feat(admin): adiciona tiers menores de CPU/memória nos limites de recursos#1
JohnPitter merged 1 commit into
mainfrom
feat/resource-limits-smaller-tiers

Conversation

@JohnPitter

Copy link
Copy Markdown
Owner

Resumo

Adiciona as menores opções selecionáveis na modal Limites de recursos do painel admin:

  • CPU: 0.125 núcleo (metade de 0.25)
  • Memória: 128m (metade de 256m)

Detalhes

  • Alteração nas constantes CPU_OPTIONS e MEMORY_OPTIONS (fonte única) em luxview-dashboard/src/pages/Admin.tsx.
  • Valores compatíveis com o backend: CPU via ParseFloat (0.125), memória via parseMemoryString (sufixo m).
  • As verificações de orçamento (isCpuExceeded/isMemExceeded) continuam funcionando.
  • Build limpo (tsc -b && vite build) validado.

🤖 Generated with Claude Code

Add 0.125 core CPU option and 128m memory option as the smallest
selectable tiers in the resource limits modal.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@JohnPitter JohnPitter merged commit db19f31 into main Jun 1, 2026
@JohnPitter JohnPitter deleted the feat/resource-limits-smaller-tiers branch June 1, 2026 16: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