From 031a1fdcead216d5e73b9b0e9ab830accd0782f5 Mon Sep 17 00:00:00 2001 From: Petr Kopac Date: Thu, 3 Aug 2017 09:22:03 +0200 Subject: [PATCH] Mention requests timeout config option --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 95e81ae..df23acd 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,10 @@ chartmogul.Ping.ping(config).get() ``` This throws error or returns `` +### Options +You can also pass to the Config initializer: +* `request_timeout=` sets timeout for requests (seconds), default: none (see [requests docs](http://docs.python-requests.org/en/master/user/quickstart/#timeouts) for details) + ## Usage The library is based on [promises](https://pypi.python.org/pypi/promise) (mechanism similar to futures).