zuora_connect 2.0.57y → 2.0.57z
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/resque/plugins/app_instance_job.rb +4 -2
- data/lib/zuora_connect/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 381b49926aa3582e49c0885f81114ea11441e00bd390b83c2a7b2f8e72295a49
|
4
|
+
data.tar.gz: 8b39fbaabff597260760215909e03778541c4b3576e9a0e06b0e2696bbb1ce58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db4e79b63e1dc4769d70df5e1f92dfdd33d8e780360c345e96ac9c7dbbf17fab257ca07cc77442133aaf95ae701adf3849e9118490236bf7ab2ed327624b2b55
|
7
|
+
data.tar.gz: 5256d2e47b1e99f7c0f979994bcc79f32210a361b59ce0f220c3f493bad85a0d69eb7236fe4cdab47fe13f3f1e574ee1f782b81bd0fb6afc2b92df0bc9b81fe5
|
@@ -24,8 +24,10 @@ module Resque
|
|
24
24
|
@appinstance.new_session(holding_pattern: true)
|
25
25
|
rescue ActiveRecord::RecordNotFound => exception
|
26
26
|
# If we can't find app_instance let make sure we cleanup
|
27
|
-
|
28
|
-
|
27
|
+
if Redis.current.zscore("AppInstance:Deleted", 1.to_i).present?
|
28
|
+
Rails.logger.info("No instance found, purge")
|
29
|
+
ZuoraConnect::AppInstance.new(id: args['app_instance_id'].to_i).prune_data
|
30
|
+
end
|
29
31
|
return
|
30
32
|
rescue ActiveRecord::StatementInvalid => exception
|
31
33
|
if (connection_count += 1) <= 3 &&
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zuora_connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.57z
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Connect Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06-
|
11
|
+
date: 2020-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: apartment
|