use better-sqlite3

This commit is contained in:
zadam
2020-06-17 23:03:46 +02:00
parent 5f2361ebd5
commit f745e21e0d
7 changed files with 210 additions and 55 deletions

View File

@@ -23,7 +23,11 @@ async function exportBranch(req, res) {
try {
if (type === 'subtree' && (format === 'html' || format === 'markdown')) {
const start = Date.now();
await zipExportService.exportToZip(taskContext, branch, format, res);
console.log("Export took", Date.now() - start, "ms");
}
else if (type === 'single') {
await singleExportService.exportSingleNote(taskContext, branch, format, res);