bin/nutcracker-web in nutcracker-web-0.0.9 vs bin/nutcracker-web in nutcracker-web-0.0.10

- old
+ new

@@ -39,10 +39,14 @@ end opts.on("-l", "--launch","launch Nutcracker instance as well") do options[:launch_nutcracker] = true end + + opts.on("-s", "--max-memory SIZE", "manually specify max memory for every redis node ( Use it for elastic cache )") do |v| + options[:max_memory] = v + end opts.on("-i","--pid FILE","pid file") do |v| options[:pid] = v options[:nutcracker_pid] = v + ".nutcracker" end @@ -93,6 +97,6 @@ end end server = nutcracker.use(:web, options) -( options[:launch_nutcracker] ? nutcracker : server ).join \ No newline at end of file +( options[:launch_nutcracker] ? nutcracker : server ).join