1
0
Fork 0
mirror of synced 2024-09-20 03:17:30 +12:00

connection storage implementation

This commit is contained in:
shimon 2024-08-12 21:37:32 +03:00
parent 61101050a7
commit 233be2a034
2 changed files with 0 additions and 9 deletions

View file

@ -132,13 +132,6 @@ App::post('/v1/projects')
throw new Exception(Exception::PROJECT_RESERVED_PROJECT, "'console' is a reserved project.");
}
var_dump([
'location' => 'Api::projects',
'_APP_DATABASE_SHARED_TABLES' => System::getEnv('_APP_DATABASE_SHARED_TABLES', ''),
'region' => $region,
'dsn' => $dsn,
]);
// TODO: Temporary until all projects are using shared tables.
$sharedTablesKeys = explode(',', System::getEnv('_APP_DATABASE_SHARED_TABLES', ''));
if (in_array($dsn, $sharedTablesKeys)) {

View file

@ -420,8 +420,6 @@ App::init()
$data = $cache->load($key, $timestamp);
if (! empty($data) && ! $cacheLog->isEmpty()) {
var_dump('cache log');
var_dump($cacheLog);
$parts = explode('/', $cacheLog->getAttribute('resourceType'));
$type = $parts[0] ?? null;