Change default run times for harvest run and clean-log

This commit is contained in:
Marko Bocevski 2020-09-11 13:36:23 +02:00
parent a9d0fff9cb
commit f8425cb22d
1 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ services:
container_name: ckan-harvest-run container_name: ckan-harvest-run
build: build:
context: . context: .
command: /bin/sh -c "while true; do sleep 90; ckan -c /srv/app/production.ini harvester run; done" command: /bin/sh -c "while true; do sleep 900; ckan -c /srv/app/production.ini harvester run; done"
networks: networks:
- frontend - frontend
- backend - backend
@ -115,7 +115,7 @@ services:
container_name: ckan-harvest-cleanlog container_name: ckan-harvest-cleanlog
build: build:
context: . context: .
command: /bin/sh -c "while true; do sleep 150; ckan -c /srv/app/production.ini harvester clean_harvest_log; done" command: /bin/sh -c "while true; do sleep 86400; ckan -c /srv/app/production.ini harvester clean_harvest_log; done"
networks: networks:
- frontend - frontend
- backend - backend