Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

set default row count to 10

Blue Mouse570ef5030426
diff --git a/meta/clickhouse/generate-dummy-data.js b/meta/clickhouse/generate-dummy-data.js
index e986ad8fa..3316175f5 100644
--- a/meta/clickhouse/generate-dummy-data.js
+++ b/meta/clickhouse/generate-dummy-data.js
@@ -7,6 +7,7 @@ const {
} = require('../../migrations/clickhouse/setup')
const PID_SIZE = 12
+const DEFAULT_ROW_COUNT = 10
const OS = ['Windows', 'Linux', 'Mac']
const UTM_SOURCES = ['organic', 'paid', 'referral']
@@ -95,7 +96,7 @@ const main = () => {
pid, beginDate, endDate, rows,
} = argMap
- const rowCount = parseInt(rows) || 5000
+ const rowCount = parseInt(rows) || DEFAULT_ROW_COUNT
if (_.isEmpty(argMap)) {
console.error(