pub_sub_model_sync 1.9.1 → 1.9.2
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f82d049509b25f0539fd6c4db0e90ef4137a47d422a86288f9c813eb82aa26d
|
4
|
+
data.tar.gz: 115ec796cceff5073b3152f69336dcb31249882a250c94f4aae75399230192fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe262d11f6995687f4b369067dd99168c16861709ca564d2c2489112f1c5ad2728c2363ec988d93fa67704db618370988ff6616ee4c3024c51fb5ee83d169ab4
|
7
|
+
data.tar.gz: 155e326d5b489a80c686e535baf427ac7a1f85c3bc9487f85df61d4367b553d33832214d9240cc01925aaf3047ee4881bc8e5e630a145b909c477e4bf2ab2839
|
@@ -101,6 +101,7 @@ module PubSubModelSync
|
|
101
101
|
subs_name = "#{config.subscription_key}_#{key}"
|
102
102
|
subscription = topic.subscription(subs_name) || topic.subscribe(subs_name, **SUBSCRIPTION_SETTINGS)
|
103
103
|
subscriber = subscription.listen(**LISTEN_SETTINGS, &method(:process_message))
|
104
|
+
subscriber.on_error { |error| log("Subscriber error: #{error.class} #{error.message}", :error) }
|
104
105
|
subscriber.start
|
105
106
|
log("Subscribed to topic: #{topic.name} as: #{subs_name}")
|
106
107
|
subscriber
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pub_sub_model_sync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Owen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01-
|
11
|
+
date: 2023-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|