This site is an archive; learn more about 8 years of OpenHatch.

[OH-Dev] [issue843] Request to download OpenHatch blog should time out faster

Asheesh Laroia bugs at openhatch.org
Thu Mar 21 18:19:42 UTC 2013


New submission from Asheesh Laroia <asheesh at asheesh.org>:

Right now, the code that renders the / page requests the OpenHatch blog. That 
part is okay, but it does so without setting a timeout. So if you're using a 
local OpenHatch dev server while not on the Internet, then the page will take 30 
seconds to load.

That is silly. We should add a timeout.

I would suggest the simplest way to do this is to use the 'requests' module and 
set a timeout.

----------
messages: 3650
nosy: paulproteus
priority: bug
status: unread
title: Request to download OpenHatch blog should time out faster

__________________________________________
Roundup issue tracker <bugs at openhatch.org>
<https://openhatch.org/bugs/issue843>
__________________________________________


More information about the Devel mailing list