📈 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!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
Set request timeout to a large value
Blue Mouse1e1bf76e9b85
diff --git a/backend/migrations/clickhouse/setup.js b/backend/migrations/clickhouse/setup.jsindex 01f683db9..a412ccc5f 100644--- a/backend/migrations/clickhouse/setup.js+++ b/backend/migrations/clickhouse/setup.js@@ -14,7 +14,7 @@ const clickhouse = createClient({username: process.env.CLICKHOUSE_USER,password: process.env.CLICKHOUSE_PASSWORD,database: process.env.CLICKHOUSE_DATABASE,- request_timeout: 60000, // 1 minute+ request_timeout: 24 * 60 * 60 * 1000,clickhouse_settings: {connect_timeout: 60000,date_time_output_format: 'iso',@@ -31,7 +31,7 @@ const clickhouseNoDatabase = createClient({url: `${process.env.CLICKHOUSE_HOST}:${process.env.CLICKHOUSE_PORT}`,username: process.env.CLICKHOUSE_USER,password: process.env.CLICKHOUSE_PASSWORD,- request_timeout: 60000, // 1 minute+ request_timeout: 24 * 60 * 60 * 1000,clickhouse_settings: {connect_timeout: 60000,date_time_output_format: 'iso',