This commit is contained in:
Felix Ableitner 2024-09-19 12:15:34 +02:00
parent b04f4415f3
commit a8f8c62886

View file

@ -98,7 +98,10 @@ impl SendActivityTask {
let response = client.execute(request).await?; let response = client.execute(request).await?;
let elapsed = now.elapsed().as_secs(); let elapsed = now.elapsed().as_secs();
if elapsed > 10 { if elapsed > 10 {
warn!("Sending activity {} to {} took {}s", self.activity_id, self.inbox, elapsed); warn!(
"Sending activity {} to {} took {}s",
self.activity_id, self.inbox, elapsed
);
} }
self.handle_response(response).await self.handle_response(response).await
} }