mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
feat: rename environment variable
This commit is contained in:
1 parent
86e8470784
commit
da16c0159b
5 files changed
+28
-28
No files matched your search
@@ -195,7 +195,7 @@ class DatabasePool
|
||||
{
|
||||
/** Get DB name from the console database */
|
||||
[$name, $internalID] = $this->getName($projectID, $redis);
|
||||
$pool = $this->pools[$name] ?? throw new Exception("Database pool with name : $name not found. Check the value of _APP_PROJECT_DB in .env", 500);
|
||||
$pool = $this->pools[$name] ?? throw new Exception("Database pool with name : $name not found. Check the value of _APP_DB_PROJECT in .env", 500);
|
||||
|
||||
$namespace = "_$internalID";
|
||||
$attempts = 0;
|
||||
@@ -236,7 +236,7 @@ class DatabasePool
|
||||
public function getAnyFromPool(\Redis $redis): array
|
||||
{
|
||||
$name = array_rand($this->pools);
|
||||
$pool = $this->pools[$name] ?? throw new Exception("Database pool with name : $name not found. Check the value of _APP_PROJECT_DB in .env", 500);
|
||||
$pool = $this->pools[$name] ?? throw new Exception("Database pool with name : $name not found. Check the value of _APP_DB_PROJECT in .env", 500);
|
||||
|
||||
$attempts = 0;
|
||||
do {
|
||||
|
||||
Reference in new issue
Block a user