Skip to content

Added timeout argument#2

Open
haya-sann wants to merge 2 commits intoAmbientDataInc:masterfrom
haya-sann:master
Open

Added timeout argument#2
haya-sann wants to merge 2 commits intoAmbientDataInc:masterfrom
haya-sann:master

Conversation

@haya-sann
Copy link

To prevent infinitely wait, added timeout parameter in requests.post call.
You can call this module like this
r = ambi.send({data}, timeout = 5.0)
timeout = N can be omit. Default timout value is 5.0 seconds.

To prevent infinitely wait, added timeout parameter in requests.post call.
You can call this module like this
        r = ambi.send({data}, timeout = 5.0)
`timeout = N` can be omit. Default timout value is 5.0 seconds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant