fix when interactives set to zero
This commit is contained in:
@@ -4,6 +4,10 @@
|
|||||||
|
|
||||||
* [#122] CDP/LLDP discovery for some HP switches (M. Kosmach)
|
* [#122] CDP/LLDP discovery for some HP switches (M. Kosmach)
|
||||||
|
|
||||||
|
[BUG FIXES]
|
||||||
|
|
||||||
|
* Fix when Interactives number set to zero
|
||||||
|
|
||||||
2.028012 - 2014-07-22
|
2.028012 - 2014-07-22
|
||||||
|
|
||||||
[BUG FIXES]
|
[BUG FIXES]
|
||||||
|
|||||||
@@ -43,7 +43,8 @@ setting('plugins')->{DBIC}->{daemon} = {
|
|||||||
|
|
||||||
# defaults for workers
|
# defaults for workers
|
||||||
setting('workers')->{queue} ||= 'PostgreSQL';
|
setting('workers')->{queue} ||= 'PostgreSQL';
|
||||||
setting('workers')->{interactives} ||= 1;
|
setting('workers')->{interactives} = 1
|
||||||
|
if setting('workers') and not exists setting('workers')->{interactives};
|
||||||
|
|
||||||
# force skipped DNS resolution, if unset
|
# force skipped DNS resolution, if unset
|
||||||
setting('dns')->{hosts_file} ||= '/etc/hosts';
|
setting('dns')->{hosts_file} ||= '/etc/hosts';
|
||||||
|
|||||||
Reference in New Issue
Block a user