my $args = { introspectors => $arg{introspectors} };
if (defined $host) {
my $remote = join '@', grep defined, $user, $host;
- my $conn = Object::Remote::Connection->conn_from_spec($remote, watchdog_timeout => 10);
+ my $conn = Object::Remote::Connection->conn_from_spec($remote, watchdog_timeout => 120);
$conn->maybe::start::connect;
if (defined $sudo_user) {
return $class->_new_bridged($conn->maybe::start::connect, $sudo, $args);
else {
if (defined $sudo_user) {
#TODO find a better way to achieve this result
- my $conn = Object::Remote::Connection->conn_from_spec($sudo_user, watchdog_timeout => 10);
+ my $conn = Object::Remote::Connection->conn_from_spec($sudo_user, watchdog_timeout => 120);
return $class->_new_direct($conn->maybe::start::connect, $args);
}