|
@@ -238,6 +238,7 @@ int opt_api_mcast_port = 4028;
|
|
|
bool opt_api_network;
|
|
bool opt_api_network;
|
|
|
bool opt_delaynet;
|
|
bool opt_delaynet;
|
|
|
bool opt_disable_pool;
|
|
bool opt_disable_pool;
|
|
|
|
|
+bool opt_disable_client_reconnect = false;
|
|
|
static bool no_work;
|
|
static bool no_work;
|
|
|
bool opt_worktime;
|
|
bool opt_worktime;
|
|
|
bool opt_weighed_stats;
|
|
bool opt_weighed_stats;
|
|
@@ -2184,6 +2185,9 @@ static struct opt_table opt_config_table[] = {
|
|
|
OPT_WITHOUT_ARG("--no-pool-disable",
|
|
OPT_WITHOUT_ARG("--no-pool-disable",
|
|
|
opt_set_invbool, &opt_disable_pool,
|
|
opt_set_invbool, &opt_disable_pool,
|
|
|
opt_hidden),
|
|
opt_hidden),
|
|
|
|
|
+ OPT_WITHOUT_ARG("--no-client-reconnect",
|
|
|
|
|
+ opt_set_invbool, &opt_disable_client_reconnect,
|
|
|
|
|
+ "Disable 'client.reconnect' stratum functionality"),
|
|
|
OPT_WITHOUT_ARG("--no-restart",
|
|
OPT_WITHOUT_ARG("--no-restart",
|
|
|
opt_set_invbool, &opt_restart,
|
|
opt_set_invbool, &opt_restart,
|
|
|
"Do not attempt to restart devices that hang"
|
|
"Do not attempt to restart devices that hang"
|