From 9d7dd5bef304932eb1d809e1e5fc179ee84180d8 Mon Sep 17 00:00:00 2001 From: Dav Glass Date: Fri, 12 Oct 2018 08:52:48 -0500 Subject: [PATCH] added timeout to README --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d99df6d..073dfbf 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,8 @@ const ring = RingAPI({ password: '12345', retries: 10, //authentication retries, optional, defaults to 0 userAgent: 'My User Agent', //optional, defaults to @android:com.ringapp:2.0.67(423) - api_version: 11 //optional in case you need to change it from the default of 9 + api_version: 11, //optional in case you need to change it from the default of 9 + timeout: (10 * 60 * 1000) //Defaults to 5 minutes }); ring.devices((e, devices) => {