Table of Contents

Method WithMaxTransactionRetryTime

Namespace
Neo4j.Driver
Assembly
Neo4j.Driver.dll

WithMaxTransactionRetryTime(TimeSpan)

Specify the maximum time transactions are allowed to retry via transaction functions. These methods will retry the given unit of work on SessionExpiredException, TransientException and ServiceUnavailableException with exponential backoff using initial delay of 1 second. Default value is 30 seconds.

public ConfigBuilder WithMaxTransactionRetryTime(TimeSpan time)

Parameters

time TimeSpan

Specify the maximum retry time.

Returns

ConfigBuilder

A ConfigBuilder instance for further configuration options.