jnewland-pulse 0.4.1 → 0.4.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/README.textile +3 -5
- metadata +3 -11
data/README.textile
CHANGED
|
@@ -18,7 +18,7 @@ In your @config/environment.rb@:
|
|
|
18
18
|
|
|
19
19
|
<pre>
|
|
20
20
|
<code>
|
|
21
|
-
config.gem '
|
|
21
|
+
config.gem 'jnewland-pulse', :lib => 'pulse', :source => 'http://gems.github.com'
|
|
22
22
|
</code>
|
|
23
23
|
</pre>
|
|
24
24
|
|
|
@@ -57,13 +57,11 @@ haproxy can be configured to use the /pulse url for its health checking. Just a
|
|
|
57
57
|
</code>
|
|
58
58
|
</pre>
|
|
59
59
|
|
|
60
|
-
You can adjust the interval and grace period for this check with the @check inter@ and @slowstart@ options. Since mongrel won't respond to HTTP requests until the entire Rails environment is loaded, this is essential.
|
|
61
|
-
|
|
62
60
|
<pre>
|
|
63
61
|
<code>
|
|
64
62
|
listen rails :9000
|
|
65
|
-
server rails-1 localhost:8000 maxconn 1 check inter 20000
|
|
66
|
-
server rails-2 localhost:8001 maxconn 1 check inter 20000
|
|
63
|
+
server rails-1 localhost:8000 maxconn 1 check inter 20000 fall 1
|
|
64
|
+
server rails-2 localhost:8001 maxconn 1 check inter 20000 fall 1
|
|
67
65
|
...
|
|
68
66
|
</code>
|
|
69
67
|
</pre>
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jnewland-pulse
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Paul Gross
|
|
@@ -12,16 +12,8 @@ cert_chain: []
|
|
|
12
12
|
|
|
13
13
|
date: 2008-10-03 00:00:00 -07:00
|
|
14
14
|
default_executable:
|
|
15
|
-
dependencies:
|
|
16
|
-
|
|
17
|
-
name: rails
|
|
18
|
-
version_requirement:
|
|
19
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
20
|
-
requirements:
|
|
21
|
-
- - ">="
|
|
22
|
-
- !ruby/object:Gem::Version
|
|
23
|
-
version: "0"
|
|
24
|
-
version:
|
|
15
|
+
dependencies: []
|
|
16
|
+
|
|
25
17
|
description: Adds a pulse action to a Rails app
|
|
26
18
|
email: jnewland@gmail.com
|
|
27
19
|
executables: []
|