mirror of
https://codeberg.org/icewind/haze.git
synced 2026-10-01 16:54:08 +02:00
Merge pull request 'fix: Remove memory and cpu limit for containers' (#33) from artonge/haze:artonge/fix/increase_memory_limit into main
Reviewed-on: https://codeberg.org/icewind/haze/pulls/33
This commit is contained in:
commit
1321a727b6
1 changed files with 0 additions and 4 deletions
|
|
@ -31,8 +31,6 @@ pub enum PhpVersion {
|
||||||
Php80,
|
Php80,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub const PHP_MEMORY_LIMIT: i64 = 2 * 1024 * 1024 * 1024;
|
|
||||||
|
|
||||||
impl FromStr for PhpVersion {
|
impl FromStr for PhpVersion {
|
||||||
type Err = ();
|
type Err = ();
|
||||||
|
|
||||||
|
|
@ -202,8 +200,6 @@ impl PhpVersion {
|
||||||
network_mode: Some(network.to_string()),
|
network_mode: Some(network.to_string()),
|
||||||
binds: Some(volumes),
|
binds: Some(volumes),
|
||||||
extra_hosts: Some(hosts),
|
extra_hosts: Some(hosts),
|
||||||
memory: Some(PHP_MEMORY_LIMIT),
|
|
||||||
nano_cpus: Some(2_000_000_000),
|
|
||||||
..Default::default()
|
..Default::default()
|
||||||
}),
|
}),
|
||||||
networking_config: Some(NetworkingConfig {
|
networking_config: Some(NetworkingConfig {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue