mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 22:15:35 +00:00
fix: cpu limit to float from int
This commit is contained in:
1 parent
3f453ba7c0
commit
2fe6766b7f
7 files changed
+7
-7
No files matched your search
@@ -633,7 +633,7 @@ class Application extends BaseModel
|
||||
'memswap_limit' => $this->limits_memory_swap,
|
||||
'mem_swappiness' => $this->limits_memory_swappiness,
|
||||
'mem_reservation' => $this->limits_memory_reservation,
|
||||
'cpus' => (int) $this->limits_cpus,
|
||||
'cpus' => (float) $this->limits_cpus,
|
||||
'cpuset' => $this->limits_cpuset,
|
||||
'cpu_shares' => $this->limits_cpu_shares,
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user