Skip to content

Commit

Permalink
Change download metadata seq check to use lte
Browse files Browse the repository at this point in the history
  • Loading branch information
danenbm committed Nov 27, 2023
1 parent a2999e2 commit d817795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nft_ingester/src/tasks/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ impl BgTask for DownloadMetadataTask {
if download_metadata.seq != 0 {
query = query.filter(
Condition::any()
.add(asset_data::Column::DownloadMetadataSeq.lt(download_metadata.seq))
.add(asset_data::Column::DownloadMetadataSeq.lte(download_metadata.seq))
.add(asset_data::Column::DownloadMetadataSeq.is_null()),
);
}
Expand Down

0 comments on commit d817795

Please sign in to comment.