move default env settings to Netdisco.pm
This commit is contained in:
		| @@ -59,12 +59,6 @@ $CONFIG->{log} = ($debug ? 'debug' : 'info'); | ||||
| # reconfigure logging to force console output | ||||
| Dancer::Logger->init('console', $CONFIG); | ||||
|  | ||||
| # set max outstanding requests for AnyEvent::DNS | ||||
| local $ENV{'PERL_ANYEVENT_MAX_OUTSTANDING_DNS'} | ||||
|     = setting('dns')->{max_outstanding} || 10; | ||||
| local $ENV{'PERL_ANYEVENT_HOSTS'} | ||||
|     = setting('dns')->{hosts_file} || '/etc/hosts'; | ||||
|  | ||||
| # for the in-memory local job queue | ||||
| schema('daemon')->deploy; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user