Skip to content
Snippets Groups Projects
Commit 63ba7f15 authored by poka's avatar poka
Browse files

enh(migration): rename unused fetch only script

parent 3bfe635c
No related branches found
No related tags found
No related merge requests found
...@@ -53,7 +53,7 @@ pub async fn fetch_profiles( ...@@ -53,7 +53,7 @@ pub async fn fetch_profiles(
} }
/// Fetches a batch of data based on the scroll ID and time. /// Fetches a batch of data based on the scroll ID and time.
pub async fn fetch_scroll_batch( async fn fetch_scroll_batch(
scroll_id: &str, scroll_id: &str,
scroll_time: &str, scroll_time: &str,
) -> Result<ScrollResponse, Box<dyn Error>> { ) -> Result<ScrollResponse, Box<dyn Error>> {
...@@ -69,7 +69,7 @@ pub async fn fetch_scroll_batch( ...@@ -69,7 +69,7 @@ pub async fn fetch_scroll_batch(
} }
/// Processes the hits from the fetched data. /// Processes the hits from the fetched data.
pub async fn process_hits( async fn process_hits(
pool: Arc<Mutex<Pool<PostgresConnectionManager<NoTls>>>>, pool: Arc<Mutex<Pool<PostgresConnectionManager<NoTls>>>>,
hits: &[Hit], hits: &[Hit],
) -> Result<(), Box<dyn Error>> { ) -> Result<(), Box<dyn Error>> {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment