aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/database.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-10-25 11:55:06 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-10-26 09:11:38 +0200
commiteb08047657e739bcd9e592d76307befa3998482b (patch)
treefc309f51ece792fd4307c4af510710a853e1d6b2 /server/initializers/database.ts
parent5f04dd2f743961e0a06c29531cc3ccc9e4928d56 (diff)
downloadPeerTube-eb08047657e739bcd9e592d76307befa3998482b.tar.gz
PeerTube-eb08047657e739bcd9e592d76307befa3998482b.tar.zst
PeerTube-eb08047657e739bcd9e592d76307befa3998482b.zip
Use async/await in controllers
Diffstat (limited to 'server/initializers/database.ts')
-rw-r--r--server/initializers/database.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/initializers/database.ts b/server/initializers/database.ts
index d461cb440..ea2b68f59 100644
--- a/server/initializers/database.ts
+++ b/server/initializers/database.ts
@@ -63,6 +63,7 @@ const sequelize = new Sequelize(dbname, username, password, {
63 host: CONFIG.DATABASE.HOSTNAME, 63 host: CONFIG.DATABASE.HOSTNAME,
64 port: CONFIG.DATABASE.PORT, 64 port: CONFIG.DATABASE.PORT,
65 benchmark: isTestInstance(), 65 benchmark: isTestInstance(),
66 isolationLevel: Sequelize.Transaction.ISOLATION_LEVELS.SERIALIZABLE,
66 67
67 logging: (message: string, benchmark: number) => { 68 logging: (message: string, benchmark: number) => {
68 let newMessage = message 69 let newMessage = message