From 7949b709979e8eb643d44565bb4dbdc002bcdc51 Mon Sep 17 00:00:00 2001 From: Alfonce Nzioka Date: Mon, 21 Feb 2022 19:11:26 -0800 Subject: [PATCH] write to chronicle --- build.gradle | 4 ++-- .../mechanic/upgrades/MigrateChronicleSystemApps.kt | 2 +- src/main/resources/aws.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 32df8d1d..4eba2449 100644 --- a/build.gradle +++ b/build.gradle @@ -50,11 +50,11 @@ def PARALLEL = "$System.env.PARALLELISM" def GC = "$System.env.GC" if (MECHANIC_XMS == 'null' || MECHANIC_XMS == null || MECHANIC_XMS == "") { - MECHANIC_XMS = '-Xms1g' + MECHANIC_XMS = '-Xms100g' } if (MECHANIC_XMX == 'null' || MECHANIC_XMX == null || MECHANIC_XMX == "") { - MECHANIC_XMX = '-Xmx4g' + MECHANIC_XMX = '-Xmx200g' } if (MECHANIC_ARGS == 'null' || MECHANIC_ARGS == null || MECHANIC_ARGS == "") { diff --git a/src/main/kotlin/com/openlattice/mechanic/upgrades/MigrateChronicleSystemApps.kt b/src/main/kotlin/com/openlattice/mechanic/upgrades/MigrateChronicleSystemApps.kt index 66548a9e..6bceef8b 100644 --- a/src/main/kotlin/com/openlattice/mechanic/upgrades/MigrateChronicleSystemApps.kt +++ b/src/main/kotlin/com/openlattice/mechanic/upgrades/MigrateChronicleSystemApps.kt @@ -55,7 +55,7 @@ class MigrateChronicleSystemApps( } private fun getDataSource(): HikariDataSource { - val (hikariConfiguration) = rhizomeConfiguration.datasourceConfigurations["alpr"]!! + val (hikariConfiguration) = rhizomeConfiguration.datasourceConfigurations["chronicle"]!! val hc = HikariConfig(hikariConfiguration) return HikariDataSource(hc) } diff --git a/src/main/resources/aws.yaml b/src/main/resources/aws.yaml index 093870d2..1346b840 100644 --- a/src/main/resources/aws.yaml +++ b/src/main/resources/aws.yaml @@ -1,3 +1,3 @@ -bucket: "lattice-prod-config" +bucket: "openlattice-alpha-config" folder: "mechanic" region: us-gov-west-1 \ No newline at end of file