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

Commit

Permalink
compute_time_listings MINID query: order by date
Browse files Browse the repository at this point in the history
  • Loading branch information
Deimos authored and spladug committed Feb 26, 2014
1 parent 2b83094 commit 7b24dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/compute_time_listings
Expand Up @@ -75,7 +75,7 @@ MINID=$(run_query "SELECT thing_id
WHERE
date > now() - interval '1 $INTERVAL' AND
date < now()
ORDER BY thing_id
ORDER BY date
LIMIT 1")
if [ -z $MINID ]; then
echo \$MINID is empty. Replication is likely behind.
Expand Down

0 comments on commit 7b24dac

Please sign in to comment.