Skip to content

Commit

Permalink
Prevent ingestion of jobs with 0 start or end time
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpalmer committed Jul 27, 2017
1 parent 723b55a commit 4abcfe1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions classes/OpenXdmod/Ingestor/Shredded/Jobs.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ public function __construct($dest_db, $src_db)
timelimit,
node_list
FROM shredded_job
WHERE start_time > 0
AND end_time > 0
';

$sql = 'SELECT MAX(id) AS max_id FROM staging_job';
Expand Down

0 comments on commit 4abcfe1

Please sign in to comment.