Skip to content

Commit

Permalink
Set timeout for list_detached_parts
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillgarbar authored Nov 25, 2024
1 parent fa74eda commit 33985ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ch_tools/chadmin/internal/part.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ def list_detached_parts(
return execute_query(
ctx,
query,
timeout=ctx.obj["config"]["clickhouse"]["alter_table_timeout"],
database=database,
table=table,
partition_id=partition_id,
Expand Down

0 comments on commit 33985ba

Please sign in to comment.