projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e395608
)
Enable query cache for mediawiki machines
author
Tom Hughes
<tom@compton.nu>
Sat, 25 Feb 2017 18:04:14 +0000
(18:04 +0000)
committer
Tom Hughes
<tom@compton.nu>
Sat, 25 Feb 2017 18:04:14 +0000
(18:04 +0000)
roles/foundation.rb
patch
|
blob
|
history
roles/wiki.rb
patch
|
blob
|
history
diff --git
a/roles/foundation.rb
b/roles/foundation.rb
index 7d46dc74880856e3996e4ddc0d51c86ee9029b18..f306fe9254ec14ba51c7e187b674ddbf720347f4 100644
(file)
--- a/
roles/foundation.rb
+++ b/
roles/foundation.rb
@@
-31,6
+31,7
@@
default_attributes(
:key_buffer_size => "64M",
:max_connections => "200",
:query_cache_size => "48M",
+ :query_cache_type => "1",
:sort_buffer_size => "8M",
:tmp_table_size => "48M"
}
diff --git
a/roles/wiki.rb
b/roles/wiki.rb
index edb21ab291abd69d798edc7f64c423e2be926c29..38aa6cd5ce2b184072b9a4b8d0c97d41c55e6e39 100644
(file)
--- a/
roles/wiki.rb
+++ b/
roles/wiki.rb
@@
-52,6
+52,7
@@
default_attributes(
:key_buffer_size => "64M",
:max_connections => "200",
:query_cache_size => "256M",
+ :query_cache_type => "1",
:sort_buffer_size => "8M",
:tmp_table_size => "128M"
}