map_reduce 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -66,7 +66,7 @@ module MapReduce
66
66
  sock = sockets[num]
67
67
  # LOL :)
68
68
  if @disconnected[sock] && rand(10) != 0
69
- pick_master(key.chars.to_a.shuffle.join)
69
+ pick_master(key.to_s.chars.to_a.shuffle.join)
70
70
  else
71
71
  sock
72
72
  end
@@ -8,7 +8,7 @@ module EM::Protocols::Zmq2
8
8
  fib.resume(message)
9
9
  end
10
10
  if request_id
11
- timer = EM.add_timer(1) {
11
+ timer = EM.add_timer(10) {
12
12
  MapReduce.logger.info("TIMEOUT")
13
13
  cancel_request(request_id)
14
14
  }
@@ -1,3 +1,3 @@
1
1
  module MapReduce
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: map_reduce
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -117,7 +117,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
117
117
  version: '0'
118
118
  segments:
119
119
  - 0
120
- hash: -2358155464795184173
120
+ hash: 1832890294401225712
121
121
  required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  none: false
123
123
  requirements:
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  version: '0'
127
127
  segments:
128
128
  - 0
129
- hash: -2358155464795184173
129
+ hash: 1832890294401225712
130
130
  requirements: []
131
131
  rubyforge_project:
132
132
  rubygems_version: 1.8.25