mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-26 02:40:23 +00:00
default timeout 30 seconds
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@561 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
c72902c756
commit
01936d5dc4
1 changed files with 2 additions and 2 deletions
|
|
@ -23,8 +23,8 @@ if not hasattr(sys, 'version_info') or sys.version_info<(2, 1, 0, 'final', 0):
|
|||
|
||||
import getopt, re, os, urlparse, pprint, linkcheck
|
||||
import linkcheck.timeoutsocket
|
||||
# set default 10 seconds timeout
|
||||
linkcheck.timeoutsocket.setDefaultSocketTimeout(10)
|
||||
# set default 30 seconds timeout
|
||||
linkcheck.timeoutsocket.setDefaultSocketTimeout(30)
|
||||
# import several helper debugging things
|
||||
from linkcheck.debuglevels import *
|
||||
from linkcheck import StringUtil
|
||||
|
|
|
|||
Loading…
Reference in a new issue