--mongosh-timeout

Last updated: April 30, 2026

Indicates seconds to wait for the mongosh timeout. -1 disables the timeout. 0 returns an error. Default: 1800.

Syntax

You can set this parameter in the following ways:

Option

Syntax

Global CLI parameter

--mongosh-timeout=<int>

Liquibase properties file (defaults file)

liquibase.mongosh.timeout: <int>

Global flow file argument (example)

globalArgs: { mongosh-timeout: "<int>" }

JVM system property (JAVA_OPTS environment variable)

JAVA_OPTS=-Dliquibase.mongosh.timeout=<int>

Liquibase environment variable

LIQUIBASE_MONGOSH_TIMEOUT=<int>