Skip to content

Commit

Permalink
fix the lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
larry-aptos committed Jun 14, 2024
1 parent a4a493d commit f15c409
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,10 @@ impl RunnableConfig for IndexerGrpcDataServiceConfig {
StorageFormat::Base64UncompressedProto
};

println!(">>>> Starting Redis connection: {:?}", &self.redis_read_replica_address.0);
println!(
">>>> Starting Redis connection: {:?}",
&self.redis_read_replica_address.0
);
let redis_conn = redis::Client::open(self.redis_read_replica_address.0.clone())?
.get_tokio_connection_manager()
.await?;
Expand Down
10 changes: 8 additions & 2 deletions ecosystem/indexer-grpc/indexer-grpc-data-service/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,14 @@ impl std::fmt::Debug for RawDataServerWrapper {
f.debug_struct("RawDataServerWrapper")
.field("redis_client", &"Arc<redis::Client>")
.field("file_store_config", &self.file_store_config)
.field("data_service_response_channel_size", &self.data_service_response_channel_size)
.field("sender_addresses_to_ignore", &self.sender_addresses_to_ignore)
.field(
"data_service_response_channel_size",
&self.data_service_response_channel_size,
)
.field(
"sender_addresses_to_ignore",
&self.sender_addresses_to_ignore,
)
.field("cache_storage_format", &self.cache_storage_format)
.finish()
}
Expand Down

0 comments on commit f15c409

Please sign in to comment.