Repository :
http://git.fedorahosted.org/cgit/
On branch : master
---------------------------------------------------------------
commit d62e37263583ed42b0d74cfcfa779116d13a68ea
Author: Matt Domsch <matt(a)domsch.com>
Date: Thu Jul 18 14:32:56 2013 -0500
crawler: drop to 90 minute timeout, fix logger line endings
---------------------------------------------------------------
server/crawler | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/server/crawler b/server/crawler
index 28c2136..9842ae5 100755
--- a/server/crawler
+++ b/server/crawler
@@ -79,7 +79,7 @@ class ForkingMaster:
def doit():
master = ForkingMaster(max_children=options.threads)
command = '/usr/share/mirrormanager/server/crawler_perhost'
- commonargs = [ command, '-c', options.config, '--timeout-minutes',
'360']
+ commonargs = [ command, '-c', options.config, '--timeout-minutes',
'90']
if options.canary:
commonargs.append('--canary')
@@ -107,7 +107,7 @@ def doit():
master.wait_for_completion()
def setup_logger():
- fmt = "%(asctime)s %(message)s\n"
+ fmt = "%(asctime)s %(message)s"
formatter = logging.Formatter(fmt=fmt)
formatter.converter = time.gmtime
logger = logging.getLogger('crawler')