zuora_connect 1.7.58 → 1.7.59

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6696ace41b5c20265acef6418b583879a80c4d11
4
- data.tar.gz: 889488bb0ee5e2aa11962dbb40e281394bbd50ee
3
+ metadata.gz: 08765e9110b6406440c0e45e1446ccd548938673
4
+ data.tar.gz: 14497e6f10bfc790d0923e456db62e97d35c771b
5
5
  SHA512:
6
- metadata.gz: 2502531eed632078cf1ae3e400d0ed81ff76a36ae1fde589e237d004d619b2a77c4a0bffab256def90cf906aa7ac6a837c4bd07e27cc6849f96ffce235958499
7
- data.tar.gz: 4a7f5d350864f505e0dc46b795f244287a1548e1e10c33353c629df690c27dfda9ed16723fda234822d661e8c0cf4c058a321a05e89017d850856ef876454300
6
+ metadata.gz: 0420bce65879d1c62e9b1d5e14d4ac707cfce1dc2c6dcb8e9c8bbf96ab9cec8254f470f0600f7cb67a9a065acfac7d32e54bb4630d56ef87d262c1ff9a84fe04
7
+ data.tar.gz: 14a02ed61b4f5fc5089feb588a476705fd8668ca2f90350e464b6ceb01a140d037f651a54da5df006093de0f6a7c846e955531863ce696ea5a0c30bef98401b4
@@ -105,7 +105,7 @@ module Resque
105
105
  end
106
106
 
107
107
  grouped_queues = grouped_queues.values.rotate(@n).map{|queue_list| get_categorized_queues(queue_list).to_h.values.flatten}.flatten.delete_if{|queue| !should_work_on_queue?(queue)}.map{|queue| "queue:#{queue}"}
108
- queue, payload = Resque.redis.blpop(grouped_queues, :timeout => ZuoraConnect.configuration.blpop_timeout)
108
+ queue, payload = Resque.redis.blpop(grouped_queues, :timeout => (ENV["BLPOP_TIMEOUT"] || 30))
109
109
  return nil if queue.blank?
110
110
 
111
111
  queue = queue.split("queue:")[1]
@@ -3,7 +3,7 @@ module ZuoraConnect
3
3
 
4
4
  attr_accessor :default_locale, :default_time_zone, :url, :mode, :delayed_job,:private_key, :additional_apartment_models
5
5
 
6
- attr_accessor :enable_metrics, :telegraf_endpoint, :telegraf_debug, :custom_prometheus_update_block, :silencer_resque_finish, :blpop_queue, :blpop_timeout
6
+ attr_accessor :enable_metrics, :telegraf_endpoint, :telegraf_debug, :custom_prometheus_update_block, :silencer_resque_finish, :blpop_queue
7
7
 
8
8
  attr_accessor :oauth_client_id, :oauth_client_secret, :oauth_client_redirect_uri
9
9
 
@@ -19,8 +19,7 @@ module ZuoraConnect
19
19
  @additional_apartment_models = []
20
20
  @silencer_resque_finish = true
21
21
  @blpop_queue = false
22
- @blpop_timeout = ENV["BLPOP_TIMEOUT"] || 30
23
-
22
+
24
23
  # Setting the app name for telegraf write
25
24
  @enable_metrics = false
26
25
  @telegraf_endpoint = 'udp://telegraf-app-metrics.monitoring.svc.cluster.local:8094'
@@ -1,4 +1,4 @@
1
1
  module ZuoraConnect
2
- VERSION = "1.7.58"
2
+ VERSION = "1.7.59"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zuora_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.58
4
+ version: 1.7.59
5
5
  platform: ruby
6
6
  authors:
7
7
  - Connect Team