Skip to content

Commit

Permalink
Updating query to scan only for updated = 1 instead of a range scan. …
Browse files Browse the repository at this point in the history
…This REQUIRES working with tsds-services >= 1.6.2
  • Loading branch information
Dan Doyle committed Nov 15, 2018
1 parent 08c2fd9 commit d8584a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/GRNOC/TSDS/Aggregate/Daemon.pm
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ sub _get_data {
}
# Otherwise detect anything that needs doing
else {
$query->{'updated'} = {'$gt' => $last_run};
$query->{'updated'} = 1;
$hint = "updated_1_identifier_1";
}

Expand Down

0 comments on commit d8584a0

Please sign in to comment.