allow deferrable_actions exceptions to device deferrals

This commit is contained in:
Oliver Gorwits
2023-08-12 19:51:05 +01:00
parent a78870c49f
commit bb15abce58
5 changed files with 18 additions and 8 deletions

View File

@@ -14,10 +14,10 @@ register_worker({ phase => 'check', driver => 'direct' }, sub {
and (not blessed $job->device or not $job->device->in_storage)) {
config->{'snmp_try_slow_connect'} = false;
return Status->info("running with fast SNMP timeouts for initial discover");
debug "running with fast SNMP timeouts for initial discover";
}
return Status->info("running with configured SNMP timeouts");
debug "running with configured SNMP timeouts";
});
true;