Commit [00fb5b]  Maximize  Restore  History

Avoid importer requests hanging indefinitely

* add a long timeout to the main urlopen() in case some requests
do take a very long time
* add a short timeout to the HEAD and github requests

Dave Brondsema Dave Brondsema 2016-12-14

changed ForgeImporters/forgeimporters/base.py
changed ForgeImporters/forgeimporters/github/__init__.py
changed ForgeImporters/forgeimporters/github/tests/test_oauth.py
changed ForgeImporters/forgeimporters/tests/github/functional/test_github.py
changed ForgeImporters/forgeimporters/tests/test_base.py
changed ForgeImporters/forgeimporters/trac/__init__.py
ForgeImporters/forgeimporters/base.py Diff Switch to side-by-side view
Loading...
ForgeImporters/forgeimporters/github/__init__.py Diff Switch to side-by-side view
Loading...
ForgeImporters/forgeimporters/github/tests/test_oauth.py Diff Switch to side-by-side view
Loading...
ForgeImporters/forgeimporters/tests/github/functional/test_github.py Diff Switch to side-by-side view
Loading...
ForgeImporters/forgeimporters/tests/test_base.py Diff Switch to side-by-side view
Loading...
ForgeImporters/forgeimporters/trac/__init__.py Diff Switch to side-by-side view
Loading...