Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
add transport opts to clickhouse repos (#2783)
ruslandogab646652071ca
diff --git a/config/runtime.exs b/config/runtime.exsindex 75e0a014c0..3151029a43 100644--- a/config/runtime.exs+++ b/config/runtime.exs@@ -279,17 +279,24 @@ config :plausible, :google,reporting_api_url: "https://analyticsreporting.googleapis.com",max_buffer_size: get_int_from_path_or_env(config_dir, "GOOGLE_MAX_BUFFER_SIZE", 10_000)+ch_transport_opts = [+ keepalive: true,+ show_econnreset: true+]+config :plausible, Plausible.ClickhouseRepo,loggers: [Ecto.LogEntry],queue_target: 500,queue_interval: 2000,- url: ch_db_url+ url: ch_db_url,+ transport_opts: ch_transport_optsconfig :plausible, Plausible.IngestRepo,loggers: [Ecto.LogEntry],queue_target: 500,queue_interval: 2000,url: ch_db_url,+ transport_opts: ch_transport_opts,flush_interval_ms: ch_flush_interval_ms,max_buffer_size: ch_max_buffer_size,pool_size: ingest_pool_size@@ -299,6 +306,7 @@ config :plausible, Plausible.AsyncInsertRepo,queue_target: 500,queue_interval: 2000,url: ch_db_url,+ transport_opts: ch_transport_opts,pool_size: 1,settings: [async_insert: 1,