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:
parent
7a31e90e22
commit
a255ec16f3
1 changed files with 8 additions and 6 deletions
|
@ -86,7 +86,9 @@ APPLICATION_URL = None
|
||||||
# in front of the application).
|
# in front of the application).
|
||||||
CHECK_SESSION_IP = True
|
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
|
# Configuration options used by the crons
|
||||||
|
@ -99,27 +101,27 @@ CRAWLER_SEND_EMAIL = False
|
||||||
umdl_master_directories = [
|
umdl_master_directories = [
|
||||||
{
|
{
|
||||||
'type': 'directory',
|
'type': 'directory',
|
||||||
'path': '../testdata/pub/epel/',
|
'path': '/srv/pub/epel/',
|
||||||
'category': 'Fedora EPEL'
|
'category': 'Fedora EPEL'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'type': 'directory',
|
'type': 'directory',
|
||||||
'path': '../testdata/pub/fedora/linux/',
|
'path': '/srv/pub/fedora/linux/',
|
||||||
'category': 'Fedora Linux'
|
'category': 'Fedora Linux'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'type': 'directory',
|
'type': 'directory',
|
||||||
'path': '../testdata/pub/fedora-secondary/',
|
'path': '/srv/pub/fedora-secondary/',
|
||||||
'category': 'Fedora Secondary Arches'
|
'category': 'Fedora Secondary Arches'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'type': 'directory',
|
'type': 'directory',
|
||||||
'path': '../testdata/pub/archive/',
|
'path': '/srv/pub/archive/',
|
||||||
'category': 'Fedora Archive'
|
'category': 'Fedora Archive'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'type': 'directory',
|
'type': 'directory',
|
||||||
'path': '../testdata/pub/alt/',
|
'path': '/srv/pub/alt/',
|
||||||
'category': 'Fedora Other'
|
'category': 'Fedora Other'
|
||||||
},
|
},
|
||||||
# {
|
# {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue