seesaw 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +8 -0
- data/README.txt +3 -0
- data/lib/seesaw/init.rb +3 -3
- metadata +1 -1
data/History.txt
CHANGED
data/README.txt
CHANGED
data/lib/seesaw/init.rb
CHANGED
|
@@ -6,7 +6,7 @@ require 'seesaw/mongrel_cluster_patch'
|
|
|
6
6
|
require "erb"
|
|
7
7
|
|
|
8
8
|
module Seesaw
|
|
9
|
-
VERSION = '0.2.
|
|
9
|
+
VERSION = '0.2.2'
|
|
10
10
|
|
|
11
11
|
module CommandBase
|
|
12
12
|
|
|
@@ -199,8 +199,8 @@ module Seesaw
|
|
|
199
199
|
Dir.mkdir(@http_config_path) unless File.exist?(@http_config_path)
|
|
200
200
|
|
|
201
201
|
# write cluster configuration files for appropriate server
|
|
202
|
-
start_port = mongrel_conf["port"]
|
|
203
|
-
end_port = mongrel_conf["port"]+mongrel_conf["servers"]
|
|
202
|
+
start_port = mongrel_conf["port"].to_i
|
|
203
|
+
end_port = mongrel_conf["port"].to_i + mongrel_conf["servers"].to_i - 1
|
|
204
204
|
mid_port = ((end_port+start_port)/2.0).ceil
|
|
205
205
|
|
|
206
206
|
# full cluster
|