diff options
author | xnacly <matteogropp@protonmail.com> | 2021-09-01 22:10:14 +0200 |
---|---|---|
committer | xnacly <matteogropp@protonmail.com> | 2021-09-01 22:10:14 +0200 |
commit | 759df843c2232d550b18ec79ae9f9d237d8938a7 (patch) | |
tree | 58a07d6095caeac40a5eeea7bccb53bb4b4576e3 /util/src | |
parent | Merge pull request #302 from sudenoh/master (diff) | |
download | server-759df843c2232d550b18ec79ae9f9d237d8938a7.tar.xz |
removed logging of database queries
Diffstat (limited to 'util/src')
-rw-r--r-- | util/src/util/Database.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/src/util/Database.ts b/util/src/util/Database.ts index c22d8abd..d3844cd9 100644 --- a/util/src/util/Database.ts +++ b/util/src/util/Database.ts @@ -21,7 +21,7 @@ export function initDatabase() { // entities: Object.values(Models).filter((x) => x.constructor.name !== "Object"), synchronize: true, - logging: true, + logging: false, cache: { duration: 1000 * 3, // cache all find queries for 3 seconds }, |