From d817795b59f58110ad35488f5d5f79d0174acc17 Mon Sep 17 00:00:00 2001 From: Michael Danenberg <56533526+danenbm@users.noreply.github.com> Date: Mon, 27 Nov 2023 13:06:07 -0800 Subject: [PATCH] Change download metadata seq check to use lte --- nft_ingester/src/tasks/common/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nft_ingester/src/tasks/common/mod.rs b/nft_ingester/src/tasks/common/mod.rs index 19f1a12e9..3b533c2f7 100644 --- a/nft_ingester/src/tasks/common/mod.rs +++ b/nft_ingester/src/tasks/common/mod.rs @@ -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()), ); }