]> git.openstreetmap.org Git - chef.git/commitdiff
Enable query cache for mediawiki machines
authorTom Hughes <tom@compton.nu>
Sat, 25 Feb 2017 18:04:14 +0000 (18:04 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 25 Feb 2017 18:04:14 +0000 (18:04 +0000)
roles/foundation.rb
roles/wiki.rb

index 7d46dc74880856e3996e4ddc0d51c86ee9029b18..f306fe9254ec14ba51c7e187b674ddbf720347f4 100644 (file)
@@ -31,6 +31,7 @@ default_attributes(
         :key_buffer_size => "64M",
         :max_connections => "200",
         :query_cache_size => "48M",
         :key_buffer_size => "64M",
         :max_connections => "200",
         :query_cache_size => "48M",
+        :query_cache_type => "1",
         :sort_buffer_size => "8M",
         :tmp_table_size => "48M"
       }
         :sort_buffer_size => "8M",
         :tmp_table_size => "48M"
       }
index edb21ab291abd69d798edc7f64c423e2be926c29..38aa6cd5ce2b184072b9a4b8d0c97d41c55e6e39 100644 (file)
@@ -52,6 +52,7 @@ default_attributes(
         :key_buffer_size => "64M",
         :max_connections => "200",
         :query_cache_size => "256M",
         :key_buffer_size => "64M",
         :max_connections => "200",
         :query_cache_size => "256M",
+        :query_cache_type => "1",
         :sort_buffer_size => "8M",
         :tmp_table_size => "128M"
       }
         :sort_buffer_size => "8M",
         :tmp_table_size => "128M"
       }