wait_for_completionedit

This setting is used by the allocation, replicas, restore, and snapshot actions.

This setting must be either True or False.

This setting specifies whether or not the request should return immediately or wait for the operation to complete before returning.

During snapshot initialization, information about all previous snapshots is loaded into the memory, which means that in large repositories it may take several seconds (or even minutes) for this command to return even if the wait_for_completion setting is set to False.

The default value of this setting differs for each action. The default for the allocation and replicas actions is False. The default for the restore and snapshot actions is True.