From bc7c374cd30157defb777bed3731a10282b51ec3 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 lteq --- 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..9e3a30839 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.lteq(download_metadata.seq)) .add(asset_data::Column::DownloadMetadataSeq.is_null()), ); }