Skip to content

Commit

Permalink
fix(batch-exports): Set queries to cancel after disconnect (#27104)
Browse files Browse the repository at this point in the history
  • Loading branch information
rossgray authored Dec 23, 2024
1 parent e310359 commit 1ec1c14
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions posthog/temporal/common/clickhouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,7 @@ async def get_client(
max_execution_time=settings.CLICKHOUSE_MAX_EXECUTION_TIME,
max_memory_usage=settings.CLICKHOUSE_MAX_MEMORY_USAGE,
max_block_size=max_block_size,
cancel_http_readonly_queries_on_client_close=1,
output_format_arrow_string_as_string="true",
http_send_timeout=0,
**kwargs,
Expand Down

0 comments on commit 1ec1c14

Please sign in to comment.