streamworker 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/streamworker/version.rb +1 -1
- data/lib/streamworker/workers/worker.rb +5 -0
- metadata +3 -3
data/lib/streamworker/version.rb
CHANGED
@@ -22,6 +22,11 @@ module Streamworker
|
|
22
22
|
@repeats = @repeats.to_i
|
23
23
|
@fragment = false
|
24
24
|
@started_at = Time.now
|
25
|
+
|
26
|
+
if defined?(AppConfig)
|
27
|
+
@opts[:unicorn_timeout] ||= AppConfig.unicorn_timeout
|
28
|
+
end
|
29
|
+
|
25
30
|
@opts[:unicorn_timeout] ||= ENV['UNICORN_TIMEOUT']
|
26
31
|
@opts[:unicorn_timeout] ||= 30
|
27
32
|
@opts[:unicorn_timeout] = @opts[:unicorn_timeout].to_i
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: streamworker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -128,7 +128,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
128
128
|
version: '0'
|
129
129
|
segments:
|
130
130
|
- 0
|
131
|
-
hash:
|
131
|
+
hash: -1134840548251930159
|
132
132
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
133
|
none: false
|
134
134
|
requirements:
|
@@ -137,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
137
137
|
version: '0'
|
138
138
|
segments:
|
139
139
|
- 0
|
140
|
-
hash:
|
140
|
+
hash: -1134840548251930159
|
141
141
|
requirements: []
|
142
142
|
rubyforge_project:
|
143
143
|
rubygems_version: 1.8.25
|