I git two +1's on IRC to quickly push this out. The goal was to better
control what is crawled and when the result is published on the
mirrorlist servers. I will revert this after the release to return to
normal operation.
Adrian
On Tue, Jun 21, 2016 at 11:57:36AM +0000, Adrian Reber wrote:
This is the public repository, do not commit sensitive
or confidential information here.
X-Git-Refname: refs/heads/master
X-Git-Oldrev: 12d3665003022025baa60c9980f6a48ae6c6bdb9
X-Git-Newrev: 8e83d2cc8f827e6124ac698aef37ec123e9f3eb5
commit 8e83d2cc8f827e6124ac698aef37ec123e9f3eb5
Author: Adrian Reber <adrian(a)lisas.de>
Date: Tue Jun 21 11:53:39 2016 +0000
Disable crawler and automatic pkl push before the release
To better control what is available on the mirrorlist servers the
cronjob are disabled.
Signed-off-by: Adrian Reber <adrian(a)lisas.de>
roles/mirrormanager/backend/files/backend.cron | 2 +-
roles/mirrormanager/crawler/files/crawler.cron | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/roles/mirrormanager/backend/files/backend.cron
b/roles/mirrormanager/backend/files/backend.cron
index b63d3fb..bcf4cde 100644
--- a/roles/mirrormanager/backend/files/backend.cron
+++ b/roles/mirrormanager/backend/files/backend.cron
@@ -2,7 +2,7 @@ MAILTO=root
# Refresh the mirrorlist cache at the top of the hour and sync it to the
# mirrorlist servers
-55 * * * * mirrormanager /usr/bin/mm2_update-mirrorlist-server &&
/usr/local/bin/sync_pkl_to_mirrorlists.sh
+#55 * * * * mirrormanager /usr/bin/mm2_update-mirrorlist-server &&
/usr/local/bin/sync_pkl_to_mirrorlists.sh
# update master directory
# logs sent to /var/log/mirrormanager/umdl.log by default
diff --git a/roles/mirrormanager/crawler/files/crawler.cron
b/roles/mirrormanager/crawler/files/crawler.cron
index 2b68c76..1060aa1 100644
--- a/roles/mirrormanager/crawler/files/crawler.cron
+++ b/roles/mirrormanager/crawler/files/crawler.cron
@@ -4,4 +4,4 @@
# [ "`hostname -s`" == "mm-crawler02" ] && sleep 2h is used
to start the crawl
# later on the second crawler to reduce the number of parallel accesses to
# the database
-0 */12 * * * mirrormanager [ "`hostname -s`" == "mm-crawler02" ]
&& sleep 2h; /usr/bin/mm2_crawler --timeout-minutes 180 --threads 20
`/usr/local/bin/run_crawler.sh 2` > /dev/null 2>&1
+#0 */12 * * * mirrormanager [ "`hostname -s`" == "mm-crawler02" ]
&& sleep 2h; /usr/bin/mm2_crawler --timeout-minutes 180 --threads 20
`/usr/local/bin/run_crawler.sh 2` > /dev/null 2>&1