Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Commit

Permalink
Enable benchmarking for DB calls (#445)
Browse files Browse the repository at this point in the history
* debug why private repo access does not work

* fix tests

* do benchmark
  • Loading branch information
prayerslayer authored Sep 15, 2016
1 parent ea90613 commit 6dbf329
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/model/Database.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ async function decryptTokenHook(thing) {
function getParameters(driver = nconf.get('DB_DRIVER')) {
const options = {
logging: log,
benchmark: true,
hooks: {
afterFind: decryptTokenHook
},
Expand Down

0 comments on commit 6dbf329

Please sign in to comment.