streamworker 0.0.3 → 0.0.4

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.
@@ -1,3 +1,3 @@
1
1
  module Streamworker
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -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.3
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: 1875753177805090707
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: 1875753177805090707
140
+ hash: -1134840548251930159
141
141
  requirements: []
142
142
  rubyforge_project:
143
143
  rubygems_version: 1.8.25