Open ahayamb opened 7 years ago
Sometimes, adding timeout parameter/default timeout would be helpful since the requests default timeout is None which will hang the application up infinitely http://docs.python-requests.org/en/master/user/advanced/#timeouts
requests
None
+1 Sometimes api.wit.ai is not accessible, in this case request can hang for several minutes
:+1:
Sometimes, adding timeout parameter/default timeout would be helpful since the
requests
default timeout isNone
which will hang the application up infinitely http://docs.python-requests.org/en/master/user/advanced/#timeouts