diff --git a/app/controllers/api/databases.php b/app/controllers/api/databases.php index ea5af0e252..971faf82c6 100644 --- a/app/controllers/api/databases.php +++ b/app/controllers/api/databases.php @@ -18,7 +18,6 @@ use Appwrite\Utopia\Response; use MaxMind\Db\Reader; use Utopia\App; use Utopia\Audit\Audit; -use Utopia\CLI\Console; use Utopia\Config\Config; use Utopia\Database\Database; use Utopia\Database\Document; @@ -3057,9 +3056,7 @@ App::post('/v1/databases/:databaseId/collections/:collectionId/documents') }, $documents); try { - $time = \microtime(true); $dbForProject->createDocuments('database_' . $database->getInternalId() . '_collection_' . $collection->getInternalId(), $documents); - Console::log('Document creation time: ' . (\microtime(true) - $time) . 's'); } catch (StructureException $e) { throw new Exception(Exception::DOCUMENT_INVALID_STRUCTURE, $e->getMessage()); } catch (DuplicateException $e) { diff --git a/docker-compose.yml b/docker-compose.yml index f0e517ef75..048178e60a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -83,7 +83,6 @@ services: - ./public:/usr/src/code/public - ./src:/usr/src/code/src - ./dev:/usr/src/code/dev - - ./vendor:/usr/src/code/vendor depends_on: - mariadb - redis