Skip to content

Added timeout argument#1

Merged
haya-sann merged 1 commit intomasterfrom
add-Timeout
Nov 5, 2018
Merged

Added timeout argument#1
haya-sann merged 1 commit intomasterfrom
add-Timeout

Conversation

@haya-sann
Copy link
Owner

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.
@haya-sann haya-sann merged commit 29cb55a into master Nov 5, 2018
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