Skip to content

Commit

Permalink
Merge pull request #6 from MinaFoundation/max_score_ignore_empty_init…
Browse files Browse the repository at this point in the history
…_batch

PM-1421 ignore empty init batch from max score calculation
  • Loading branch information
piotr-iohk authored Apr 10, 2024
2 parents d2994b0 + 734ce73 commit 75f333b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions getPageDataForSnark.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
SELECT COUNT(1), to_char(to_timestamp(end_epoch), 'DD-MM-YYYY hh24:mi') as last_modified
FROM bot_logs , recentone
WHERE batch_start_epoch >= start_epoch and batch_end_epoch <= end_epoch
AND files_processed > 0
group by 2 ";

$maxScoreSnarkresult = pg_query($conn, $maxScoreSnark);
Expand Down

0 comments on commit 75f333b

Please sign in to comment.