Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Removed disconnect code.

Mike Caodca51050e8b8
diff --git a/lib/queries.js b/lib/queries.js
index 7c0bb6e7e..3b138faa9 100644
--- a/lib/queries.js
+++ b/lib/queries.js
@@ -16,13 +16,9 @@ export function getDatabase() {
}
export async function runQuery(query) {
- return query
- .catch(e => {
- throw e;
- })
- .finally(async () => {
- await prisma.$disconnect();
- });
+ return query.catch(e => {
+ throw e;
+ });
}
export async function rawQuery(query, params = []) {
diff --git a/package.json b/package.json
index c21f3076d..aca8f8c0d 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "umami",
- "version": "0.78.0",
+ "version": "0.80.0",
"description": "A simple, fast, website analytics alternative to Google Analytics. ",
"author": "Mike Cao <[email protected]>",
"license": "MIT",