This is an automated email from the ASF dual-hosted git repository.

zhanglei pushed a commit to branch SCB-1321
in repository https://gitbox.apache.org/repos/asf/servicecomb-pack.git

commit 5404aee28d719ae49f7c808408a6368cb5bc667a
Author: Lei Zhang <[email protected]>
AuthorDate: Mon Jul 8 20:05:55 2019 +0800

    SCB-1321 Add Akka persistence default parameters
---
 alpha/alpha-server/src/main/resources/application.yaml | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/alpha/alpha-server/src/main/resources/application.yaml 
b/alpha/alpha-server/src/main/resources/application.yaml
index a9946ed..1aa7a68 100644
--- a/alpha/alpha-server/src/main/resources/application.yaml
+++ b/alpha/alpha-server/src/main/resources/application.yaml
@@ -45,6 +45,12 @@ eureka:
     metadataMap:
       servicecomb-alpha-server: ${alpha.server.host}:${alpha.server.port}
 
+akkaConfig:
+  akka.persistence.journal.plugin: akka.persistence.journal.inmem
+  akka.persistence.journal.leveldb.dir: target/example/journal
+  akka.persistence.snapshot-store.plugin: akka.persistence.snapshot-store.local
+  akka.persistence.snapshot-store.local.dir: target/example/snapshots
+
 management:
   endpoints:
     web:
@@ -93,15 +99,6 @@ spring:
 
 ---
 spring:
-  profiles: akka-persistence-mem
-akkaConfig:
-  akka.persistence.journal.plugin: akka.persistence.journal.inmem
-  akka.persistence.journal.leveldb.dir: target/example/journal
-  akka.persistence.snapshot-store.plugin: akka.persistence.snapshot-store.local
-  akka.persistence.snapshot-store.local.dir: target/example/snapshots
-
----
-spring:
   profiles: akka-persistence-redis
 akkaConfig:
   akka.persistence.journal.plugin: akka-persistence-redis.journal

Reply via email to