toiler 0.4.0 → 0.4.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: 052684da31f27b7ecbc535c439e5bafcd0125562
4
- data.tar.gz: ab662b0091df098f222d355f6547aa72b45e5616
3
+ metadata.gz: 5147089083d760568e0f9c58442bac5f37e0c313
4
+ data.tar.gz: 087b505c5d9643f04fce1989c7014dc3b96ddad4
5
5
  SHA512:
6
- metadata.gz: b53805d6fe080821635435c5e6c77717ad4bec1be17f4b751fdede6f629800d3b1659befb714a16b05a9044a1f3df87575b3c00b4c9901a0419060443b500403
7
- data.tar.gz: 57d41760bc10db374be8c15e4480b823e24c5a4fe3bbe634ab2562cf46f622e66376a9578e4c9bf2f55ad0016091b0ea5b7ffc5f40af7d19eaf2919b744a3e07
6
+ metadata.gz: 64b2d544c5178bfa61a66a03620b1a0d29c71de424ebc60874b87fb2259095d6d01faec7b049fe2e23536968d0ba23c74129cb57caa5948fe06ff7ef785e43f5
7
+ data.tar.gz: bf2e185000f5086fd0cb97fc657eb0a3c888e0279e88cd93438634407f59cea9bce22b340fc5c2a9489fd1519c90e728e01238b53b933d2f47d7bef0d12112d7
data/README.md CHANGED
@@ -8,8 +8,6 @@ a different approach at loadbalancing and uses long-polling.
8
8
  Toiler allows to specify the amount of processors (threads) that should be spawned for each queue.
9
9
  Instead of [shoryuken's](https://github.com/phstc/shoryuken) loadbalancing approach, Toiler delegates this work to the kernel scheduling threads.
10
10
 
11
- Because Toiler uses threads to provide concurrency, **each thread instatiates a new worker**, as it should be expected, so please **use class variables to store shared variables like clients**.
12
-
13
11
  ###Long-Polling
14
12
  A Fetcher thread is spawned for each queue.
15
13
  Fetchers are resposible for polling SQS and retreiving messages.
@@ -46,6 +46,7 @@ module Toiler
46
46
  def initialize_aws
47
47
  return if Toiler.options[:aws].empty?
48
48
  ::Aws.config[:region] = Toiler.options[:aws][:region]
49
+ ::Aws.config[:endpoint] = Toiler.options[:aws][:endpoint] if Toiler.options[:aws][:endpoint]
49
50
  set_aws_credentials
50
51
  end
51
52
 
@@ -1,4 +1,4 @@
1
1
  # Toiler Version
2
2
  module Toiler
3
- VERSION = '0.4.0'.freeze
3
+ VERSION = '0.4.1'.freeze
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toiler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Schepens
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-27 00:00:00.000000000 Z
11
+ date: 2016-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -205,7 +205,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
205
205
  version: '0'
206
206
  requirements: []
207
207
  rubyforge_project:
208
- rubygems_version: 2.4.8
208
+ rubygems_version: 2.5.1
209
209
  signing_key:
210
210
  specification_version: 4
211
211
  summary: Toiler is a super efficient AWS SQS thread based message processor