Spark 2.5.8 bad reconnect

How to configure Spark that he would automatically reconnect when connection is broken. Constantly,

and no questions asked, like a bulldog that would be hung. And it turns out that therelationship jerk and no one in the network before rebooting. Please help.

Sorry for bad English, my native language is Russian

You can’t change anything about reconnecting in 2.5.8. Though it should be trying to reconnect constantly (every 10 seconds). Unless you are speaking about Spark window popping up when connection is broken. This should be addressed in 2.6.0 to make it less intrusive.