Skip to content

Commit 67d4471

Browse files
authored
Merge pull request coollabsio#3399 from dimaaan21/next
fix: keydb. add `:` delimiter for connection string
2 parents 0b950f4 + 72c08e4 commit 67d4471

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Models/StandaloneKeydb.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ public function type(): string
209209
protected function internalDbUrl(): Attribute
210210
{
211211
return new Attribute(
212-
get: fn () => "redis://{$this->keydb_password}@{$this->uuid}:6379/0",
212+
get: fn () => "redis://:{$this->keydb_password}@{$this->uuid}:6379/0",
213213
);
214214
}
215215

@@ -218,7 +218,7 @@ protected function externalDbUrl(): Attribute
218218
return new Attribute(
219219
get: function () {
220220
if ($this->is_public && $this->public_port) {
221-
return "redis://{$this->keydb_password}@{$this->destination->server->getIp}:{$this->public_port}/0";
221+
return "redis://:{$this->keydb_password}@{$this->destination->server->getIp}:{$this->public_port}/0";
222222
}
223223

224224
return null;

0 commit comments

Comments
 (0)