Permalink
Browse files

Increase read buffer, allow more arguments

This is to fix the same problem reported in #254; 
Even with the fix in #255, I'm still seeing this issue. 

I chose 2**16 to match what @andyl did in adc5766d
  • Loading branch information...
1 parent 0072bcf commit 82074716f8cea59d09e83f6fe4adfc28ddd63a83 @rtlong rtlong committed Mar 19, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 rubygem/lib/zeus.rb
View
@@ -94,7 +94,7 @@ def command(identifier, sock)
remote.close
sock.close
- pid_and_arguments = local.recv(1024) # if starting client before boot slave is latched, we get stuck here. We also get stuck here in #182.
+ pid_and_arguments = local.recv(2**16) # if starting client before boot slave is latched, we get stuck here. We also get stuck here in #182.
pid_and_arguments.chomp!("\0")
pid_and_arguments =~ /(.*?):(.*)/
client_pid, arguments = $1.to_i, $2

0 comments on commit 8207471

Please sign in to comment.