啊? fixed(喜)

This commit is contained in:
shenjack-5600u 2024-02-10 23:38:49 +08:00
parent bc362e1854
commit 028c5a0c72
Signed by: shenjack
GPG Key ID: FDF9864E11C7E79F

View File

@ -82,7 +82,8 @@ impl Cluster {
pub async fn request_cert(&self) -> bool {
tokio::time::sleep(Duration::from_millis(200)).await;
let tmp_dir = self.config.cache_dir.clone();
let ack_callback = |message: Payload, _| {
let ack_callback = move |message: Payload, _| {
let tmp_dir = tmp_dir.clone();
async move {
match message {
Payload::Text(values) => {