Skip to content
Snippets Groups Projects
Commit 35d55e93 authored by Will Spooner's avatar Will Spooner
Browse files

Removed random disconnect/reconnect code as this was breaking mirror blast

parent d2519c1a
No related branches found
No related tags found
No related merge requests found
......@@ -279,13 +279,13 @@ sub store {
$self->throw( "Do not know how to store objects of type ".ref($obj) );
return undef;
}
if( $self->{'disconnect_flag'} ) {
warn "HERE WE ARE DISCONNECTING....";
$self->dbc->db_handle->disconnect();
$self->dbc->connected(0);
warn "AND WE ARE RECONNECTING....";
$self->dbc->connect();
}
# if( $self->{'disconnect_flag'} ) {
# warn "HERE WE ARE DISCONNECTING....";
# $self->dbc->db_handle->disconnect();
# $self->dbc->connected(0);
# warn "AND WE ARE RECONNECTING....";
# $self->dbc->connect();
# }
return $ret_value;
}
......
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