praekeltfoundation / vumi-wikipedia

Vumi Wikipedia Application
BSD 3-Clause "New" or "Revised" License
8 stars 8 forks source link

Handle HTTP timeouts better #37

Closed jerith closed 10 years ago

jerith commented 10 years ago

We currently don't set a timeout on our HTTP calls to the MediaWiki API.

hodgestar commented 10 years ago

:+1:

smn commented 10 years ago

Are we not able to set the reactor for the Agent that http_request_full uses? That way we could use clock.advance(timeout) and check that stuff works properly and we send back some reasonable response over USSD instead of leaving the user hanging?

hodgestar commented 10 years ago

I like @smn's idea.

smn commented 10 years ago

:+1: