Skip to content

Commit

Permalink
feat($Redis): switch back to Redis standalone mode
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnymillergh committed Feb 26, 2022
1 parent 74c54b3 commit 2e0ce94
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ spring:
username: maf_rabbitmq_su
password: maf@rabbitmq
redis:
host: maf-redis-master
port: 6379
password: maf@redis
database: 0
timeout: 10000ms
client-type: LETTUCE
Expand Down Expand Up @@ -112,16 +115,6 @@ spring:
clusterCheckinInterval: 3000
useProperties: false

redis:
master:
host: maf-redis-master
port: 6379
password: maf@redis
slaves:
- host: maf-redis-slave-1
port: 6379
password: maf@redis

minio:
endpoint: http://maf-minio
port: 9000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ spring:
username: maf_rabbitmq_su
password: maf@rabbitmq
redis:
host: localhost
port: 6379
password: maf@redis
database: 0
timeout: 10000ms
client-type: LETTUCE
lettuce:
host: localhost
port: 6379
password: maf@redis
pool:
max-active: 20
max-idle: 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ spring:
username: maf_rabbitmq_su
password: maf@rabbitmq
redis:
host: maf-redis-master
port: 6379
password: maf@redis
database: 0
timeout: 10000ms
client-type: LETTUCE
Expand Down Expand Up @@ -112,16 +115,6 @@ spring:
clusterCheckinInterval: 3000
useProperties: false

redis:
master:
host: maf-redis-master
port: 6379
password: maf@redis
slaves:
- host: maf-redis-slave-1
port: 6379
password: maf@redis

minio:
endpoint: http://maf-minio
port: 9000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ spring:
username: maf_rabbitmq_su
password: maf@rabbitmq
redis:
host: maf-redis-master
port: 6379
password: maf@redis
database: 0
timeout: 10000ms
client-type: LETTUCE
Expand Down Expand Up @@ -112,16 +115,6 @@ spring:
clusterCheckinInterval: 3000
useProperties: false

redis:
master:
host: maf-redis-master
port: 6379
password: maf@redis
slaves:
- host: maf-redis-slave-1
port: 6379
password: maf@redis

minio:
endpoint: http://maf-minio
port: 9000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ spring:
username: maf_rabbitmq_su
password: maf@rabbitmq
redis:
host: maf-redis-master
port: 6379
password: maf@redis
database: 0
timeout: 10000ms
client-type: LETTUCE
Expand Down Expand Up @@ -112,16 +115,6 @@ spring:
clusterCheckinInterval: 3000
useProperties: false

redis:
master:
host: maf-redis-master
port: 6379
password: maf@redis
slaves:
- host: maf-redis-slave-1
port: 6379
password: maf@redis

minio:
endpoint: http://maf-minio
port: 9000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ public class RedisConfiguration {
private final ObjectMapper objectMapper;

/**
* Redis connection factory lettuce connection factory.
* Redis connection factory lettuce connection factory. Only takes effect when the 'redis.master.host' is
* configured.
*
* @return the lettuce connection factory
* @see
Expand Down

0 comments on commit 2e0ce94

Please sign in to comment.