Skip to content
This repository has been archived by the owner on Nov 13, 2018. It is now read-only.

Remove prefetch, since it breaks with newer mysql/DBIx #949

Merged
merged 2 commits into from
Jan 21, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions traffic_ops/app/lib/MojoPlugins/Job.pm
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ sub register {
{
'me.cdn_id' => $cdn_id,
-and => { status => { 'not in' => \@offstates } }
},
{ prefetch => [ 'cdn', 'profile' ] }
}
);
my $result = $update_server_bit_rs->update( { upd_pending => 1 } );
&log( $self, "Set upd_pending = 1 for all applicable caches", "OPER" );
Expand Down