Skip to content

Instantly share code, notes, and snippets.

@smly
Created May 29, 2012 14:13
Show Gist options
  • Select an option

  • Save smly/2828670 to your computer and use it in GitHub Desktop.

Select an option

Save smly/2828670 to your computer and use it in GitHub Desktop.
diff -c /data/hoge/huga/local/lib/ruby/gems/1.8/gems/flockdb-0.7.1/lib/flock/service.rb{.backup,}
*** /data/hoge/huga/local/lib/ruby/gems/1.8/gems/flockdb-0.7.1/lib/flock/service.rb.backup 2012-05-29 17:19:00.000000000 +0900
--- /data/hoge/huga/local/lib/ruby/gems/1.8/gems/flockdb-0.7.1/lib/flock/service.rb 2012-05-29 17:21:01.000000000 +0900
***************
*** 1,6 ****
module Flock
class Service < ThriftClient
! DEFAULTS = { :transport_wrapper => Thrift::BufferedTransport }
def initialize(servers = nil, options = {})
if servers.nil? or servers.empty?
--- 1,6 ----
module Flock
class Service < ThriftClient
! DEFAULTS = {:transport_wrapper => Thrift::FramedTransport, :connect_timeout => 1 }
def initialize(servers = nil, options = {})
if servers.nil? or servers.empty?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment