mirror of
https://github.com/LemmyNet/activitypub-federation-rust
synced 2024-11-27 05:40:19 +00:00
fmt
This commit is contained in:
parent
b04f4415f3
commit
a8f8c62886
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue