From bc4dea5ab9dabc29cee29e15223f352ddb327f60 Mon Sep 17 00:00:00 2001 From: cong-or Date: Wed, 11 Dec 2024 13:36:47 +0000 Subject: [PATCH] create persistent then volatile --- catalyst-gateway/bin/src/db/index/session.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/catalyst-gateway/bin/src/db/index/session.rs b/catalyst-gateway/bin/src/db/index/session.rs index 2b6e2cc2c01..b78db17f44d 100644 --- a/catalyst-gateway/bin/src/db/index/session.rs +++ b/catalyst-gateway/bin/src/db/index/session.rs @@ -117,9 +117,7 @@ impl CassandraSession { pub(crate) async fn execute_iter

( &self, select_query: PreparedSelectQuery, params: P, ) -> anyhow::Result - where - P: SerializeRow, - { + where P: SerializeRow { let session = self.session.clone(); let queries = self.queries.clone();