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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cfd7ef7c63d7aaa950ca49d00fa564087db50e4e
4
- data.tar.gz: e4ffeab8ffae61cdd20b2824145036caf51218ed
3
+ metadata.gz: ce530b92c1968a973d166ee92941b09ec983744f
4
+ data.tar.gz: a3c17c45a7aadf9876cea727fbfaee8f7de4cf00
5
5
  SHA512:
6
- metadata.gz: 97b1a45a2bcdb8ff238e8c6514629499064739ec671f7bde5a3958ae54d5be02ae33c22e56a975c52a5f0635bdd9a778eb7ce03bf2b91798330aae70c6d04251
7
- data.tar.gz: 5e330fa9e5dccc1dfa0a1a3a3677e3653f5c36bf413e87a325598b2ae505addf02e6bc53af10a3b6346452bed95441bdc60efa1eb2d38befa1fcdfc3a7fa3d4b
6
+ metadata.gz: db46e1fe92389ef8acf2acf7c9a85690910dcc6e5c4dfac73f821a8f79654221f39d0053dc698760b86e3a397a0820eba0b72e983b11b07a10511abad07249ca
7
+ data.tar.gz: b1713e60d6adba5117f8dad1eb420b714c215d1a4b97731c7b6292a22c8348f643b00c8466a17a28ac4bf5e628bc3c4590def01d383ac5dd9f441ec236e549b7
@@ -1,3 +1,3 @@
1
1
  module FrenzyBunnies
2
- VERSION = "0.0.12"
2
+ VERSION = "0.0.13"
3
3
  end
@@ -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.12
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-05 00:00:00.000000000 Z
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