mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2025-12-22 22:20:02 +00:00
clone client instead
This commit is contained in:
@@ -217,13 +217,8 @@ impl Instance {
|
||||
};
|
||||
|
||||
if let Some(flow_proxy) = &self.flow {
|
||||
flow_proxy
|
||||
.flow_client
|
||||
.lock()
|
||||
.await
|
||||
.handle(full_req)
|
||||
.await
|
||||
.unwrap();
|
||||
let mut client = flow_proxy.flow_client.lock().await.clone();
|
||||
client.handle(full_req).await.unwrap();
|
||||
} else {
|
||||
info!("flow proxy is not initialized");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user