Commit cfc3fba7 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Merge branch 'dev_experimental' of gitlab.mpcdf.mpg.de:nomad-lab/nomad-FAIR into dev_experimental

parents eb50b853 3af223f9
......@@ -773,9 +773,6 @@ class NomadCOEMigration:
logger = self.logger.bind(
package_id=package.package_id, source_upload_id=package.upload_id)
if wait > 0:
self.logger.info('wait for a random amount of time')
time.sleep(random.randint(0, wait))
if package.migration_version is not None and package.migration_version >= self.migration_version:
if only_republish:
......@@ -789,6 +786,10 @@ class NomadCOEMigration:
overall_report.skipped_packages += 1
else:
try:
if wait > 0:
self.logger.info('wait for a random amount of time')
time.sleep(random.randint(0, wait))
package_report = self.migrate_package(package, delete_failed=delete_failed)
except Exception as e:
......
......@@ -26,14 +26,14 @@ services:
ports:
- 9200:9200
volumes:
- /nomad/fairdi/db/elastic:/usr/share/elasticsearch/data
- /scratch/fairdi/db/elastic:/usr/share/elasticsearch/data
# the user data db
mongo:
ports:
- 27017:27017
volumes:
- /nomad/fairdi/db/mongo:/data/db
- /scratch/fairdi/db/mongo:/data/db
# used for centralized logging
elk:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment