You can change the default timeout (15s) on the DBI connection string as follows:
my $dbh = DBI->connect("dbi:Pg:dbname=$db_name;host=$db_host;connect_t +imeout=$db_connect_timeout", ...);
In reply to Re: alarm in DBI module
by salva
in thread alarm in DBI module
by vetrivel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |