Commit df2c932d authored by Leo Gordon's avatar Leo Gordon
Browse files

cleanup: we could not understand how that was supposed to work

parent 167547c7
......@@ -309,13 +309,6 @@ sub connect {
$driver, $dbparam,
$self->host(), $self->port() );
if ( $self->{'disconnect_when_inactive'} ) {
$self->{'count'}++;
if ( $self->{'count'} > 1000 ) {
sleep 1;
$self->{'count'} = 0;
}
}
eval {
$dbh = DBI->connect( $dsn, $self->username(), $self->password(),
{ 'RaiseError' => 1 } );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment