Skip to content

max_reconnects not configurable in ConnectOptions #1186

@glueball

Description

@glueball

Observed behavior

The ConectOptions struct has the max_reconnects field, defaulting to Some(60), but no method to configure it.

Expected behavior

A method .max_reconnects allows configuring the value.

Server and client version

async_nats 0.33

Host environment

N/A

Steps to reproduce

N/A

Metadata

Metadata

Assignees

Labels

defectSuspected defect such as a bug or regression

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions