diff --git a/deployment/human-connection/deployment-neo4j.yaml b/deployment/human-connection/deployment-neo4j.yaml index 593f87d2b..3b381ce7b 100644 --- a/deployment/human-connection/deployment-neo4j.yaml +++ b/deployment/human-connection/deployment-neo4j.yaml @@ -27,9 +27,9 @@ imagePullPolicy: Always resources: requests: - memory: "1G" - limits: memory: "2G" + limits: + memory: "8G" envFrom: - configMapRef: name: configmap diff --git a/deployment/legacy-migration/maintenance-worker.yaml b/deployment/legacy-migration/maintenance-worker.yaml index a0f354fc9..ec6623a2b 100644 --- a/deployment/legacy-migration/maintenance-worker.yaml +++ b/deployment/legacy-migration/maintenance-worker.yaml @@ -8,9 +8,11 @@ containers: - name: nitro-maintenance-worker image: humanconnection/maintenance-worker:latest - env: - - name: NEO4J_apoc_import_file_enabled - value: "true" + resources: + requests: + memory: "2G" + limits: + memory: "8G" envFrom: - configMapRef: name: maintenance-worker diff --git a/deployment/legacy-migration/maintenance-worker/migration/mongo/export.sh b/deployment/legacy-migration/maintenance-worker/migration/mongo/export.sh index f80ea8b8b..71ed3b58b 100755 --- a/deployment/legacy-migration/maintenance-worker/migration/mongo/export.sh +++ b/deployment/legacy-migration/maintenance-worker/migration/mongo/export.sh @@ -31,12 +31,12 @@ ssh -4 -M -S my-ctrl-socket -fnNT -L 27018:localhost:27017 -l ${SSH_USERNAME} ${ export_collection "badges" export_collection "categories" export_collection "comments" -export_collection_query "contributions" "{'type': 'DELETED'}" "DELETED" -export_collection_query "contributions" "{'type': 'post'}" "post" -export_collection_query "contributions" "{'type': 'cando'}" "cando" +export_collection_query "contributions" '{"type": "DELETED"}' "DELETED" +export_collection_query "contributions" '{"type": "post"}' "post" +export_collection_query "contributions" '{"type": "cando"}' "cando" export_collection "emotions" -export_collection_query "follows" "{'foreignService': 'organizations'}" "organizations" -export_collection_query "follows" "{'foreignService': 'users'}" "users" +export_collection_query "follows" '{"foreignService": "organizations"}' "organizations" +export_collection_query "follows" '{"foreignService": "users"}' "users" export_collection "invites" export_collection "organizations" export_collection "pages"