Avoid calls to cluster.connect()

Description

Calls to cluster.connect() are slow so we might as well avoid them if they are not needed.

Environment

None
Fixed

Assignee

Guillaume Smet

Reporter

Guillaume Smet