From 4679a45eb1dbc28f67e5d98969a9c4f6dbf8453b Mon Sep 17 00:00:00 2001 From: calvin Date: Thu, 10 Mar 2005 23:50:17 +0000 Subject: [PATCH] run with low prio per default git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2401 e7d03fd6-7b0d-0410-9947-9c21f3af8025 --- linkchecker | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/linkchecker b/linkchecker index 7f234835..129847af 100755 --- a/linkchecker +++ b/linkchecker @@ -309,10 +309,10 @@ group.add_option("-V", "--version", action="store_true", dest="version", help=_( """Print version and exit.""")) -group.add_option("--low-priority", action="store_true", dest="lowprio", +group.add_option("--priority", action="store_true", dest="priority", help=_( -"""Run with low thread scheduling priority. Useful when checking large -sites to not interfere with running progams.""")) +"""Run with normal thread scheduling priority. Per default Linkchecker +runs with low thread priority to be suitable as a background job.""")) optparser.add_option_group(group) @@ -489,7 +489,7 @@ except linkcheck.LinkCheckerError, msg: # apply commandline options and arguments constructauth = False do_profile = False -if options.lowprio: +if not options.priority: import linkcheck.threader linkcheck.threader.set_thread_priority(linkcheck.threader.PRIO_LOW) if options.anchors is not None: