Skip to content

Commit

Permalink
Merge pull request #11 from gsandie/update_readme_with_timeout
Browse files Browse the repository at this point in the history
Update README with timeout information
  • Loading branch information
aphyr committed May 26, 2013
2 parents bccae98 + 91f7876 commit 27f1287
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Use
``` ruby
require 'riemann/client'

# Create a client. Host and port are optional.
c = Riemann::Client.new host: 'localhost', port: 5555
# Create a client. Host, port and timeout are optional.
c = Riemann::Client.new host: 'localhost', port: 5555, timeout: 5

# Send a simple event
c << {service: 'testing', metric: 2.5}
Expand Down

0 comments on commit 27f1287

Please sign in to comment.