Skip to content

Instantly share code, notes, and snippets.

@Mikulas
Created February 20, 2018 10:56
Show Gist options
  • Save Mikulas/570176d61736bb9fba7582ba1fea027c to your computer and use it in GitHub Desktop.
Save Mikulas/570176d61736bb9fba7582ba1fea027c to your computer and use it in GitHub Desktop.
@@ -1,2 +1,3 @@
session.save_handler = redis
session.save_path = "tcp://redis.k8s.mangoweb.org?prefix=beton-beta."
+max_execution_time = 60
@@ -47,6 +47,10 @@
$table_prefix = 'wp_';
+define('WP_MEMORY_LIMIT', '200M');
+IMagick::setResourceLimit(imagick::RESOURCETYPE_MEMORY, /* 100MiB */ 104857600);
+IMagick::setResourceLimit(imagick::RESOURCETYPE_MAP, /* 100MiB */ 104857600);
+
$s3 = $params['s3'];
define('S3_UPLOADS_BUCKET', $s3['bucket']);
define('S3_UPLOADS_KEY', $s3['key']);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment