From afd5d8ec8b39dd78eb1a77d7c9aa14e801777273 Mon Sep 17 00:00:00 2001 From: Yogesh Beniwal <7325107+yogeshbeniwal@users.noreply.github.com> Date: Mon, 3 Apr 2023 16:57:45 +0800 Subject: [PATCH] Update WP_MEMORY_LIMIT and WP_MAX_MEMORY_LIMIT --- wo/cli/plugins/site_functions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wo/cli/plugins/site_functions.py b/wo/cli/plugins/site_functions.py index b83696f..f8809c0 100644 --- a/wo/cli/plugins/site_functions.py +++ b/wo/cli/plugins/site_functions.py @@ -376,8 +376,8 @@ def setupwordpress(self, data, vhostonly=False): # set all wp-config.php variables wp_conf_variables = [ ['WP_REDIS_PREFIX', '{0}:'.format(wo_domain_name)], - ['WP_MEMORY_LIMIT', '128M'], - ['WP_MAX_MEMORY_LIMIT', '256M'], + ['WP_MEMORY_LIMIT', '256M'], + ['WP_MAX_MEMORY_LIMIT', '512M'], ['CONCATENATE_SCRIPTS', 'false'], ['WP_POST_REVISIONS', '10'], ['MEDIA_TRASH', 'true'],