From 45c3a9103f282eafd5e82e908c24b8e0d0ee7220 Mon Sep 17 00:00:00 2001 From: Louis Chmn Date: Sat, 8 Aug 2026 21:02:08 +0200 Subject: [PATCH] fix: Remove memory and cpu limit for containers This allow to efficiently run psalm within the container. Signed-off-by: Louis Chmn --- src/php.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/php.rs b/src/php.rs index 3e542c0..82f5db7 100644 --- a/src/php.rs +++ b/src/php.rs @@ -31,8 +31,6 @@ pub enum PhpVersion { Php80, } -pub const PHP_MEMORY_LIMIT: i64 = 2 * 1024 * 1024 * 1024; - impl FromStr for PhpVersion { type Err = (); @@ -202,8 +200,6 @@ impl PhpVersion { network_mode: Some(network.to_string()), binds: Some(volumes), extra_hosts: Some(hosts), - memory: Some(PHP_MEMORY_LIMIT), - nano_cpus: Some(2_000_000_000), ..Default::default() }), networking_config: Some(NetworkingConfig {