added atomic writer action for ctr c abort
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// src/economic/scraper.rs
|
||||
use super::types::{EconomicEvent};
|
||||
use event_backtest_engine::logger;
|
||||
use crate::logger;
|
||||
use fantoccini::Client;
|
||||
use tokio::time::{sleep, Duration};
|
||||
|
||||
|
||||
@@ -84,7 +84,7 @@ pub async fn load_events_in_batches(
|
||||
Ok(all_events.into_iter())
|
||||
}
|
||||
|
||||
/// NEW: Build a lightweight index instead of loading all events
|
||||
/// Build a lightweight index instead of loading all events
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct EventIndex {
|
||||
pub key: String,
|
||||
|
||||
Reference in New Issue
Block a user