activejob-google-cloud-pubsub 0.7.2 → 0.7.3

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: 6c9860274e03768fcec32f520c0137029f118595
4
- data.tar.gz: 7debd4cdc31b82694f90b934ca4310438bedb4a4
3
+ metadata.gz: a93f8676942fbae3462542221eb29c00cea05e49
4
+ data.tar.gz: e107be026c5bf4790f811d52604876b5116e6ae6
5
5
  SHA512:
6
- metadata.gz: fda7e35dbb61582683ec6f440e3b85643a319ea41ef32d1931aef15ab47d2e8e31cc58aa22b947cbe63ba851ecff128c12529d47eedcc0439c53f3ddbbd8dc90
7
- data.tar.gz: 4fb3b16b2d217e4bed67962c659c08b34bb0e664d35f55d7d7353c3de8cd0f41f8f0755842ba8d6b0b66b873113759822b53f509100c4941ce0097075f89412d
6
+ metadata.gz: c1c8ac490b7116ab433d764c1f8676f88e6e6439d137f3d103deea8fb20ffba637789cf3f2c1f5ca82925b2f8bff31c00480afcae7d781e3e6d7d895a3815b83
7
+ data.tar.gz: fd290dccc8d533c5b4e19af7a6c30e27c5622f68a819cf33f6b9d8e5ece81e02f4e825f6864f14597ecf8571a7b6074a459cfc96b5af223e35a29331220bcc25
@@ -1,5 +1,5 @@
1
1
  module ActiveJob
2
2
  module GoogleCloudPubsub
3
- VERSION = '0.7.2'
3
+ VERSION = '0.7.3'
4
4
  end
5
5
  end
@@ -19,7 +19,7 @@ module ActiveJob
19
19
  end
20
20
 
21
21
  def run
22
- subscriber = @pubsub.subscription_for(@queue_name).listen do |message|
22
+ subscriber = @pubsub.subscription_for(@queue_name).listen(streams: 1, threads: { callback: 1 }) do |message|
23
23
  @logger&.info "Message(#{message.message_id}) was received."
24
24
  process message
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activejob-google-cloud-pubsub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keita Urashima
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-30 00:00:00.000000000 Z
11
+ date: 2019-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activejob