Skip to content

Commit

Permalink
adjust test sttings with cluster settings
Browse files Browse the repository at this point in the history
  • Loading branch information
amirreza8002 committed Nov 15, 2024
1 parent d18b814 commit 1087e07
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/settings/sqlite_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
CACHES = {
"default": {
"BACKEND": "django_valkey.cluster_cache.cache.ClusterValkeyCache",
"LOCATION": ["valkey://127.0.0.1:7005", "valkey://127.0.0.1:7005"],
"LOCATION": ["valkey://127.0.0.1:16379", "valkey://127.0.0.1:16380"],
"OPTIONS": {
"CLIENT_CLASS": "django_valkey.cluster_cache.client.DefaultClusterClient"
},
Expand All @@ -17,14 +17,14 @@
},
"sample": {
"BACKEND": "django_valkey.cluster_cache.cache.ClusterValkeyCache",
"LOCATION": "valkey://127.0.0.1:7005:0,valkey://127.0.0.1:7002:0",
"LOCATION": "valkey://127.0.0.1:16379:0,valkey://127.0.0.1:16380:0",
"OPTIONS": {
"CLIENT_CLASS": "django_valkey.cluster_cache.client.DefaultClusterClient"
},
},
"with_prefix": {
"BACKEND": "django_valkey.cluster_cache.cache.ClusterValkeyCache",
"LOCATION": "valkey://127.0.0.1:7005?db=0",
"LOCATION": "valkey://127.0.0.1:16379?db=0",
"OPTIONS": {
"CLIENT_CLASS": "django_valkey.cluster_cache.client.DefaultClusterClient"
},
Expand Down

0 comments on commit 1087e07

Please sign in to comment.