Update WP_MEMORY_LIMIT and WP_MAX_MEMORY_LIMIT

This commit is contained in:
Yogesh Beniwal
2023-04-03 16:57:45 +08:00
parent 3bd80047fd
commit afd5d8ec8b

View File

@@ -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'],