Skip to content

Commit

Permalink
added timeout to README
Browse files Browse the repository at this point in the history
  • Loading branch information
davglass committed Oct 12, 2018
1 parent d8cd680 commit 9d7dd5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 9d7dd5b

Please sign in to comment.