Only start scheduler when schedule config exists
This commit is contained in:
@@ -21,7 +21,8 @@
|
|||||||
* Sort CDP/LLDP data to be more consistent when multiple neighbors on a port
|
* Sort CDP/LLDP data to be more consistent when multiple neighbors on a port
|
||||||
* Fix POD errors in Nbtstat and ResultSet::Device (thanks cpants :)
|
* Fix POD errors in Nbtstat and ResultSet::Device (thanks cpants :)
|
||||||
* UTF-8 encoding for Port Name (description)
|
* UTF-8 encoding for Port Name (description)
|
||||||
* Allow process grouping to work portably againa (daemon config watch)
|
* Allow process grouping to work portably again (daemon config watch)
|
||||||
|
* Only start scheduler when schedule config exists
|
||||||
|
|
||||||
2.028013 - 2014-07-31
|
2.028013 - 2014-07-31
|
||||||
|
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ delete config->{'housekeeping'};
|
|||||||
# schedule expire used to be called expiry
|
# schedule expire used to be called expiry
|
||||||
setting('schedule')->{expire} ||= setting('schedule')->{expiry}
|
setting('schedule')->{expire} ||= setting('schedule')->{expiry}
|
||||||
if setting('schedule') and exists setting('schedule')->{expiry};
|
if setting('schedule') and exists setting('schedule')->{expiry};
|
||||||
delete config->{'schedule'}->{'expiry'};
|
delete config->{'schedule'}->{'expiry'} if setting('schedule');
|
||||||
|
|
||||||
# upgrade reports config from hash to list
|
# upgrade reports config from hash to list
|
||||||
if (setting('reports') and ref {} eq ref setting('reports')) {
|
if (setting('reports') and ref {} eq ref setting('reports')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user