Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenix-o committed Nov 6, 2024
1 parent 7758e33 commit b1bdd67
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion crates/sui-data-ingestion/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ use prometheus::Registry;
use serde::{Deserialize, Serialize};
use std::env;
use std::path::PathBuf;
use std::time::Duration;
use sui_data_ingestion::{
ArchivalConfig, ArchivalReducer, ArchivalWorker, BlobTaskConfig, BlobWorker,
DynamoDBProgressStore, KVStoreTaskConfig, KVStoreWorker,
Expand Down Expand Up @@ -154,7 +155,12 @@ async fn main() -> Result<()> {
executor.register(worker_pool).await?;
}
Task::BigTableKV(kv_config) => {
let client = BigTableClient::new_remote(kv_config.instance_id, false, None).await?;
let client = BigTableClient::new_remote(
kv_config.instance_id,
false,
Some(Duration::from_secs(15)),
)
.await?;
let worker_pool = WorkerPool::new(
KvWorker { client },
task_config.name,
Expand Down

0 comments on commit b1bdd67

Please sign in to comment.