Increase the default number of checker threads.

This commit is contained in:
Bastian Kleineidam 2012-08-23 16:11:47 +02:00
parent bc287d7710
commit 99ab68908c
9 changed files with 14 additions and 12 deletions

View file

@ -123,7 +123,7 @@
##################### checking options ##########################
[checking]
# number of threads
#threads=5
#threads=100
# connection timeout in seconds
#timeout=60
# check anchors?

View file

@ -17,6 +17,8 @@ Changes:
- checking: Ignore feed: URLs.
- checking: --ignore-url now really ignores the URLs instead
of checking only the syntax.
- checking: Increase the default number of checker threads from 10 to
100.
Fixes:
- gui: Fix saving of the debugmemory option.

View file

@ -5,8 +5,8 @@
msgid ""
msgstr ""
"Project-Id-Version: linkchecker 3.4\n"
"POT-Creation-Date: 2012-08-14 23:14+0300\n"
"PO-Revision-Date: 2012-08-14 23:15+0100\n"
"POT-Creation-Date: 2012-08-23 16:10+0300\n"
"PO-Revision-Date: 2012-08-23 16:10+0100\n"
"Last-Translator: Bastian Kleineidam <calvin@users.sourceforge.net>\n"
"Language-Team: de <de@li.org>\n"
"Language: \n"
@ -331,10 +331,10 @@ msgstr "B<-t>I<NUMMER>, B<--threads=>I<NUMMER>"
#: en/linkchecker.1:77 en/linkcheckerrc.5:97
msgid ""
"Generate no more than the given number of threads. Default number of threads "
"is 10. To disable threading specify a non-positive number."
"is 100. To disable threading specify a non-positive number."
msgstr ""
"Generiere nicht mehr als die angegebene Anzahl von Threads. Standard Anzahl "
"von Threads ist 10. Um Threads zu deaktivieren, geben Sie eine nicht "
"von Threads ist 100. Um Threads zu deaktivieren, geben Sie eine nicht "
"positive Nummer an."
# type: TP

View file

@ -83,7 +83,7 @@ Leerzeichen.
.TP
\fB\-t\fP\fINUMMER\fP, \fB\-\-threads=\fP\fINUMMER\fP
Generiere nicht mehr als die angegebene Anzahl von Threads. Standard Anzahl
von Threads ist 10. Um Threads zu deaktivieren, geben Sie eine nicht
von Threads ist 100. Um Threads zu deaktivieren, geben Sie eine nicht
positive Nummer an.
.TP
\fB\-V\fP, \fB\-\-version\fP

View file

@ -99,7 +99,7 @@ Kommandozeilenoption: \fB\-\-scan\-virus\fP
.TP
\fBthreads=\fP\fINUMBER\fP
Generiere nicht mehr als die angegebene Anzahl von Threads. Standard Anzahl
von Threads ist 10. Um Threads zu deaktivieren, geben Sie eine nicht
von Threads ist 100. Um Threads zu deaktivieren, geben Sie eine nicht
positive Nummer an.
.br
Kommandozeilenoption: \fB\-\-threads\fP

View file

@ -73,7 +73,7 @@ Read list of white-space separated URLs to check from stdin.
.TP
\fB\-t\fP\fINUMBER\fP, \fB\-\-threads=\fP\fINUMBER\fP
Generate no more than the given number of threads. Default number
of threads is 10. To disable threading specify a non-positive number.
of threads is 100. To disable threading specify a non-positive number.
.TP
\fB\-V\fP, \fB\-\-version\fP
Print version and exit.

View file

@ -93,7 +93,7 @@ Command line option: \fB\-\-scan\-virus\fP
.TP
\fBthreads=\fP\fINUMBER\fP
Generate no more than the given number of threads. Default number
of threads is 10. To disable threading specify a non-positive number.
of threads is 100. To disable threading specify a non-positive number.
.br
Command line option: \fB\-\-threads\fP
.TP

View file

@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2012-08-14 23:14+0300\n"
"POT-Creation-Date: 2012-08-23 16:10+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -272,7 +272,7 @@ msgstr ""
#: en/linkchecker.1:77 en/linkcheckerrc.5:97
msgid ""
"Generate no more than the given number of threads. Default number of threads "
"is 10. To disable threading specify a non-positive number."
"is 100. To disable threading specify a non-positive number."
msgstr ""
#. type: TP

View file

@ -211,7 +211,7 @@ class Configuration (dict):
self["warningregex_max"] = 5
self["warnsizebytes"] = None
self["nntpserver"] = os.environ.get("NNTP_SERVER", None)
self["threads"] = 10
self["threads"] = 100
# socket timeout in seconds
self["timeout"] = 60
self["checkhtml"] = False