Skip to content

Commit

Permalink
Documented timeout setting
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelmoussa committed Feb 24, 2015
1 parent 4d8f1e3 commit 63f99f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ $statsd1 = StatsD\Client::instance('server1')->configure(array(...));
$statsd2 = StatsD\Client::instance('server2')->configure(array(...));
```

The StatsD client wait for `ini_get('default_socket_timeout')` seconds when opening the socket by default. To reduce
this timeout, add `'timeout' => <float>` to your config.

### Counters

```php
Expand Down

0 comments on commit 63f99f4

Please sign in to comment.