1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-21 13:23:07 +01:00

fix: fixes broken cpu and memory limits on swarm mode. correctly implements limits with agents (#3785)

This commit is contained in:
Amir Raminfar
2025-04-09 15:02:38 -07:00
committed by GitHub
parent ddff265023
commit 70c23b0b1e
10 changed files with 453 additions and 298 deletions

View File

@@ -24,7 +24,7 @@ type Container struct {
Tty bool `json:"-"`
Labels map[string]string `json:"labels,omitempty"`
Stats *utils.RingBuffer[ContainerStat] `json:"stats,omitempty"`
MemoryLimit int64 `json:"memoryLimit"`
MemoryLimit uint64 `json:"memoryLimit"`
CPULimit float64 `json:"cpuLimit"`
Group string `json:"group,omitempty"`
FullyLoaded bool `json:"-,omitempty"`