Looks like you guys are not adding a timeout here. Seems like a nice way to degrade in the event that you service is down.
At the very least, offer it up as a configurable option.
The requests library allows you to specify a timeout as an optional keyword arg.
Looks like you guys are not adding a timeout here. Seems like a nice way to degrade in the event that you service is down.
At the very least, offer it up as a configurable option.
The requests library allows you to specify a timeout as an optional keyword arg.