mirror of
https://github.com/neondatabase/neon.git
synced 2026-06-01 12:30:38 +00:00
make sk compile
This commit is contained in:
@@ -40,11 +40,18 @@ pub struct TimelineUpdatesSubscriber {
|
||||
}
|
||||
|
||||
/// Wrapper type to weed out all places in the codebase that interact directly with the gRPC generated code.
|
||||
/// We want all to go through the facade structs above so we can implement brokerless mode in the future.
|
||||
pub struct BrokerClientChannel {
|
||||
client: proto::broker_service_client::BrokerServiceClient<tonic::transport::Channel>,
|
||||
}
|
||||
|
||||
impl BrokerClientChannel {
|
||||
pub fn into_raw_grpc_client(
|
||||
self,
|
||||
) -> proto::broker_service_client::BrokerServiceClient<tonic::transport::Channel> {
|
||||
self.client
|
||||
}
|
||||
}
|
||||
|
||||
pub struct TimelineShardUpdate {
|
||||
pub is_discovery: bool,
|
||||
pub inner: proto::SafekeeperDiscoveryResponse,
|
||||
|
||||
Reference in New Issue
Block a user