* :ref:`setting-slave` is now :ref:`setting-secondary`
* :ref:`setting-superslave` is now :ref:`setting-autosecondary`
+Changed defaults
+~~~~~~~~~~~~~~~~
+
+- The default value of the ``timeout`` option for :ref:`ifportup` and :ref:`ifurlup` functions has been changed from ``1`` to ``2`` seconds.
+
4.3.x to 4.4.0
--------------
void checkURL(const CheckDesc& cd, const bool status, const bool first = false)
{
try {
- int timeout = 1;
+ int timeout = 2;
if (cd.opts.count("timeout")) {
timeout = std::atoi(cd.opts.at("timeout").c_str());
}
}
void checkTCP(const CheckDesc& cd, const bool status, const bool first = false) {
try {
- int timeout = 1;
+ int timeout = 2;
if (cd.opts.count("timeout")) {
timeout = std::atoi(cd.opts.at("timeout").c_str());
}