boardintel_frenzy_bunnies 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/frenzy_bunnies/version.rb +1 -1
- data/lib/frenzy_bunnies/worker.rb +2 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce530b92c1968a973d166ee92941b09ec983744f
|
4
|
+
data.tar.gz: a3c17c45a7aadf9876cea727fbfaee8f7de4cf00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db46e1fe92389ef8acf2acf7c9a85690910dcc6e5c4dfac73f821a8f79654221f39d0053dc698760b86e3a397a0820eba0b72e983b11b07a10511abad07249ca
|
7
|
+
data.tar.gz: b1713e60d6adba5117f8dad1eb420b714c215d1a4b97731c7b6292a22c8348f643b00c8466a17a28ac4bf5e628bc3c4590def01d383ac5dd9f441ec236e549b7
|
@@ -25,8 +25,6 @@ module FrenzyBunnies::Worker
|
|
25
25
|
|
26
26
|
@logger = context.logger
|
27
27
|
|
28
|
-
queue_name = "#{@queue_name}_#{context.env}"
|
29
|
-
|
30
28
|
@queue_opts[:prefetch] ||= 10
|
31
29
|
@queue_opts[:durable] ||= false
|
32
30
|
@queue_opts[:timeout_job_after] = 5 if @queue_opts[:timeout_job_after].nil?
|
@@ -38,9 +36,9 @@ module FrenzyBunnies::Worker
|
|
38
36
|
@thread_pool = MarchHare::ThreadPools.dynamically_growing
|
39
37
|
end
|
40
38
|
|
41
|
-
q = context.queue_factory.build_queue(queue_name, @queue_opts)
|
39
|
+
q = context.queue_factory.build_queue(@queue_name, @queue_opts)
|
42
40
|
|
43
|
-
say "#{@queue_opts[:threads] ? "#{@queue_opts[:threads]} threads " : ''}with #{@queue_opts[:prefetch]} prefetch on <#{queue_name}>."
|
41
|
+
say "#{@queue_opts[:threads] ? "#{@queue_opts[:threads]} threads " : ''}with #{@queue_opts[:prefetch]} prefetch on <#{@queue_name}>."
|
44
42
|
|
45
43
|
q.subscribe(:ack => true, :blocking => false, :executor => @thread_pool) do |headers, msg|
|
46
44
|
worker = new
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: boardintel_frenzy_bunnies
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dotan Nahum
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|