Skip to content

Commit

Permalink
Bumped up default conns from 1024 to 8192
Browse files Browse the repository at this point in the history
It's closer to our production setup needs
  • Loading branch information
Cosimo Streppone committed Dec 13, 2011
1 parent 207a934 commit 6ce91c1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion memcache/manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

}

define memcache::config ($address = "", $port = "11211", $size = "512", $max_connections = "1024", $user = "root", $logfile = "/var/log/memcached") {
define memcache::config ($address = "", $port = "11211", $size = "512", $max_connections = "8192", $user = "root", $logfile = "/var/log/memcached") {

include memcache

Expand Down
9 changes: 7 additions & 2 deletions memcache/templates/memcached.conf.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Memcached config file
# Cosimo 18/06/2008
# ------------------------------------------------
# File managed by puppet <%= puppetversion %> on <%= fqdn %>
# ------------------------------------------------

#
# Memcached config
#

# Run as daemon
-d
Expand Down

0 comments on commit 6ce91c1

Please sign in to comment.