Make umdl use the real content

To prepare MM2 for production let's switch to the real data
instead of the testdata. Additionally specify a timeout
of 4 hours on rsync crawls.
This commit is contained in:
Adrian Reber 2015-03-18 15:20:44 +00:00
parent 7a31e90e22
commit a255ec16f3

View file

@ -86,7 +86,9 @@ APPLICATION_URL = None
# in front of the application).
CHECK_SESSION_IP = True
# Specify additional rsync parameters for the crawler
# # --timeout 14400: abort rsync crawl after 4 hours
CRAWLER_RSYNC_PARAMETERS = '--no-motd --timeout 14400'
###
# Configuration options used by the crons
@ -99,27 +101,27 @@ CRAWLER_SEND_EMAIL = False
umdl_master_directories = [
{
'type': 'directory',
'path': '../testdata/pub/epel/',
'path': '/srv/pub/epel/',
'category': 'Fedora EPEL'
},
{
'type': 'directory',
'path': '../testdata/pub/fedora/linux/',
'path': '/srv/pub/fedora/linux/',
'category': 'Fedora Linux'
},
{
'type': 'directory',
'path': '../testdata/pub/fedora-secondary/',
'path': '/srv/pub/fedora-secondary/',
'category': 'Fedora Secondary Arches'
},
{
'type': 'directory',
'path': '../testdata/pub/archive/',
'path': '/srv/pub/archive/',
'category': 'Fedora Archive'
},
{
'type': 'directory',
'path': '../testdata/pub/alt/',
'path': '/srv/pub/alt/',
'category': 'Fedora Other'
},
# {