This commit is contained in:
Brandon Mitchell 2012-09-11 10:13:01 -07:00
parent bb1eb43866
commit 4863efcc77
2 changed files with 5 additions and 4 deletions

View File

@ -5,7 +5,7 @@ A Thrift client wrapper that encapsulates some common failover behavior.
== License
Copyright 2009 Twitter, Inc. See included LICENSE file.
Copyright 2009-2012 Twitter, Inc. See included LICENSE file.
The public certificate for this gem is here[http://blog.evanweaver.com/files/evan_weaver-original-public_cert.pem].
@ -16,7 +16,7 @@ The public certificate for this gem is here[http://blog.evanweaver.com/files/eva
* Ruby 1.9 compatibility
* ThriftClient::Simple class, for working without generated bindings.
The Github source repository is {here}[http://github.com/fauna/thrift_client/]. Patches and contributions are very welcome.
The Github source repository is {here}[http://github.com/twitter/thrift_client/]. Patches and contributions are very welcome.
== Usage
@ -52,9 +52,9 @@ To contribute changes:
1. Fork the project
2. make your change, adding tests
3. send a pull request to fauna and ryanking
3. send a pull request to twitter and ryanking
== Reporting problems
The Github issue tracker is {here}[http://github.com/fauna/thrift_client/issues].
The Github issue tracker is {here}[http://github.com/twitter/thrift_client/issues].

View File

@ -24,6 +24,7 @@ Valid optional parameters are:
<tt>:timeout</tt>:: Specify the default timeout in seconds. Defaults to <tt>1</tt>.
<tt>:connect_timeout</tt>:: Specify the connection timeout in seconds. Defaults to <tt>0.1</tt>.
<tt>:timeout_overrides</tt>:: Specify additional timeouts on a per-method basis, in seconds. Only works with <tt>Thrift::BufferedTransport</tt>.
<tt>:cached_connections</tt>:: Cache connections between requests. Trades connect() costs for open sockets. Defaults to <tt>false</tt>.
<tt>:defaults</tt>:: Specify default values to return on a per-method basis, if <tt>:raise</tt> is set to false.
=end rdoc