action_subscriber 3.0.0 → 3.0.1

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: 52c0f3db37ebe4b428841306b9adba37f2f39a58
4
- data.tar.gz: c02900ab22466a4cd485a39530379cd215aae0e5
3
+ metadata.gz: b5c70aa42049754f97b6f3e05f1fbdc743a728f7
4
+ data.tar.gz: e25c7a771fc3f230e194c284ed9f0535a0297bd7
5
5
  SHA512:
6
- metadata.gz: 3859b7e0dded455b94130370401011037f7a9d1cfad814aedca554134bc33a0272fa9c87d3a070c5a6336e81451aaddf5a8c8a2046bf8784c9335980b047da37
7
- data.tar.gz: d39b119f253a6bbee3f3150d0936e8f5ddacb71f02df0641304c084ca1d8a1b6e3d3ae0d3bc2f69f370e8793199f8305adfd7295f46645d3ebaecb39427e26ec
6
+ metadata.gz: d56c9dbbbf4db7fd0cec44d9a1afbdad0c5f3859b0be64dd800070d60f82aefc65af05cbe6346a252fc9d0aa76f37013ceae20d3f98c0478bf064eb5539c0d17
7
+ data.tar.gz: cb838fe0f9f956eea5dd7057ce14827b5f6de5daeab57a0391f84e0f74bea12f0515e7147ff5ed83e8f0f96c907667fe3434eb0f8635f9b2a191b70c939ca7a6
@@ -36,6 +36,9 @@ module ActionSubscriber
36
36
  def self.create_connection(settings)
37
37
  options = connection_options.merge(settings)
38
38
  if ::RUBY_PLATFORM == "java"
39
+ options[:executor_factory] = ::Proc.new do
40
+ ::MarchHare::ThreadPools.fixed_of_size(options[:threadpool_size])
41
+ end
39
42
  connection = ::MarchHare.connect(options)
40
43
  else
41
44
  connection = ::Bunny.new(options)
@@ -1,3 +1,3 @@
1
1
  module ActionSubscriber
2
- VERSION = "3.0.0"
2
+ VERSION = "3.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_subscriber
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Stien
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2016-09-22 00:00:00.000000000 Z
15
+ date: 2016-09-23 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: activesupport