Configure Bigtable's timeout, enabling by default (#14657)
* Configure bigtable's timeout when read-only * Review comments * Apply nits (thanks!) Co-authored-by: Michael Vines <mvines@gmail.com> * Timeout in the streamed decoding as well Co-authored-by: Michael Vines <mvines@gmail.com>
This commit is contained in:
@@ -297,6 +297,7 @@ impl JsonRpcService {
|
||||
runtime
|
||||
.block_on(solana_storage_bigtable::LedgerStorage::new(
|
||||
!config.enable_bigtable_ledger_upload,
|
||||
config.rpc_bigtable_timeout,
|
||||
))
|
||||
.map(|bigtable_ledger_storage| {
|
||||
info!("BigTable ledger storage initialized");
|
||||
|
||||
Reference in New Issue
Block a user