Skip to content

Commit

Permalink
fix durations
Browse files Browse the repository at this point in the history
  • Loading branch information
solidiquis committed Jan 27, 2025
1 parent d18b9a4 commit 84f1f33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rust/examples/ingestion/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ impl DataSource {
let (data_tx, data_rx) = channel(1);

let task_handler = task::spawn_blocking(move || {
let duration = Duration::from_secs(180);
let duration = Duration::from_secs(60);
let start = Instant::now();
let mut rng = rand::thread_rng();

Expand Down
2 changes: 1 addition & 1 deletion rust/examples/ingestion/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
let run = create_run(grpc_channel.clone(), ASSET_NAME).await?;
println!("initialized run {}", &run.name);

// Initialize the data source
// Initialize the data source which is an impl Stream
let data_source = DataSource::new(ingestion_config, run);

IngestServiceClient::new(grpc_channel)
Expand Down

0 comments on commit 84f1f33

Please sign in to comment.