botanalytics 0.2.3 → 0.2.4

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
  SHA256:
3
- metadata.gz: a09d3c4234a670f0bce3957f80f384536215465dcc9062d4869f1f44acb8e191
4
- data.tar.gz: 0bb6988fcf3f152d8caf5d3eda0844e18d424773cb73e5c53d961cd1bcf11839
3
+ metadata.gz: 0bee5ffb6479f0573f57057fd11213b806d1327e6e7cfb727446b72a56582660
4
+ data.tar.gz: 1a3c8c1f3a54d7a3efbed7e74017c4715eb6e3ff0684aba8fd355332ab3ae03d
5
5
  SHA512:
6
- metadata.gz: 15f951a5954f44f57f2fbfa415297f308adf6e7a95c32e9214aeca018f14bd094c3b43052283e62ab78e7025107b2cc9b79a74b07f0018e7874cf58ee6787cdd
7
- data.tar.gz: b54e2472c87bfd812d4d7e0fb9e755a79859513068dffce5ca8bce028480b7f8dcbc7bfc793818e3e39c217e2cf27088ba0ee80b8f489e858924d43485f2edba
6
+ metadata.gz: 9867be496c3613629527567381fd052bd101b4fb3de4ef0cdeff5457c95bdcbc4771c413b12437e344826a951dbe90c3dacf84de818f4539c0eb739eb9fb24f5
7
+ data.tar.gz: 109ff13e50417e683026dad780436e384d93f4c9ae35a692050e06fdc02aa2126f543c4c97c3a4beb292eba298548fbb075f807fea43f9bb25c83a0e677964d3
@@ -13,8 +13,8 @@ class AmazonAlexa < Envoy
13
13
  require 'concurrent'
14
14
  @executor_service = Concurrent::ThreadPoolExecutor.new(
15
15
  min_threads: 1,
16
- max_threads: Concurrent.processor_count,
17
- max_queue: 100,
16
+ max_threads: Concurrent.processor_count * 2,
17
+ max_queue: Concurrent.processor_count * 1000,
18
18
  fallback_policy: :caller_runs
19
19
  )
20
20
  informs("Mode: Async...")
@@ -17,8 +17,8 @@ class FacebookMessenger < Envoy
17
17
  require 'concurrent'
18
18
  @executor_service = Concurrent::ThreadPoolExecutor.new(
19
19
  min_threads: 1,
20
- max_threads: Concurrent.processor_count,
21
- max_queue: 100,
20
+ max_threads: Concurrent.processor_count * 2,
21
+ max_queue: Concurrent.processor_count * 1000,
22
22
  fallback_policy: :caller_runs
23
23
  )
24
24
  informs("Mode: Async...")
@@ -12,8 +12,8 @@ class Generic < Envoy
12
12
  require 'concurrent'
13
13
  @executor_service = Concurrent::ThreadPoolExecutor.new(
14
14
  min_threads: 1,
15
- max_threads: Concurrent.processor_count,
16
- max_queue: 100,
15
+ max_threads: Concurrent.processor_count * 2,
16
+ max_queue: Concurrent.processor_count * 1000,
17
17
  fallback_policy: :caller_runs
18
18
  )
19
19
  informs("Mode: Async...")
@@ -13,8 +13,8 @@ class GoogleAssistant < Envoy
13
13
  require 'concurrent'
14
14
  @executor_service = Concurrent::ThreadPoolExecutor.new(
15
15
  min_threads: 1,
16
- max_threads: Concurrent.processor_count,
17
- max_queue: 100,
16
+ max_threads: Concurrent.processor_count * 2,
17
+ max_queue: Concurrent.processor_count * 1000,
18
18
  fallback_policy: :caller_runs
19
19
  )
20
20
  informs("Mode: Async...")
@@ -20,8 +20,8 @@ class SlackRTMApi < Envoy
20
20
  require 'concurrent'
21
21
  @executor_service = Concurrent::ThreadPoolExecutor.new(
22
22
  min_threads: 1,
23
- max_threads: Concurrent.processor_count+1,
24
- max_queue: 100,
23
+ max_threads: 2,
24
+ max_queue: 1000,
25
25
  fallback_policy: :caller_runs
26
26
  )
27
27
  @executor_service.post do
@@ -191,8 +191,8 @@ class SlackEventApi < Envoy
191
191
  require 'concurrent'
192
192
  @executor_service = Concurrent::ThreadPoolExecutor.new(
193
193
  min_threads: 1,
194
- max_threads: Concurrent.processor_count+1,
195
- max_queue: 100,
194
+ max_threads: Concurrent.processor_count * 2 + 1,
195
+ max_queue: Concurrent.processor_count * 1000,
196
196
  fallback_policy: :caller_runs
197
197
  )
198
198
  @executor_service.post do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: botanalytics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Beyhan Esen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-17 00:00:00.000000000 Z
11
+ date: 2018-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby