Revert "Fix wrong params on feedback, disable debugging in compose file"

This reverts commit 5c895579ed.
This commit is contained in:
Bradley Schofield
2024-11-28 17:25:38 +09:00
parent 5c895579ed
commit 00e3fe12f4
2 changed files with 0 additions and 4 deletions
-3
View File
@@ -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) {
-1
View File
@@ -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