> ## Documentation Index
> Fetch the complete documentation index at: https://clickhouse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# wait_for_* session settings

> ClickHouse session settings in the wait_for_* generated group.

These settings are available in [system.settings](https://clickhouse.com/docs/reference/system-tables/settings.md) and are autogenerated from [source](https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Settings.cpp).

## wait\_for\_async\_insert

Type

Bool

Default

1

If true wait for processing of asynchronous insertion.

## wait\_for\_async\_insert\_timeout

Type

Seconds

Default

120

Timeout for waiting for processing asynchronous insertion.

## wait\_for\_part\_commit\_in\_dependent\_materialized\_views

Type

Bool

Default

0

Controls whether each sink commits its just-written part before its own dependent materialized view cascade runs, so a cascade that reads back from the source via `JOIN` observes the part written by that sink.

The guarantee is per sink instance — parts written by other sink threads of the same `INSERT` may not yet be visible. The setting does not provide cross-thread commit ordering.

Has no effect on inserts into tables with no dependent materialized views.
