mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 13:16:56 +00:00
refactor: Rename "synapse"-related federation methods to "slow"
I won't even comment on how stupid that naming was.
This commit is contained in:
4 files changed
+8
-11
No files matched your search
@@ -39,8 +39,8 @@ impl super::Service {
|
||||
}
|
||||
|
||||
/// Like execute() but with a very large timeout
|
||||
#[tracing::instrument(skip_all, name = "synapse", level = "debug")]
|
||||
pub async fn execute_synapse<'i, T>(
|
||||
#[tracing::instrument(skip_all, name = "request_slow", level = "debug")]
|
||||
pub async fn execute_slow<'i, T>(
|
||||
&self,
|
||||
dest: &ServerName,
|
||||
request: T,
|
||||
@@ -52,7 +52,7 @@ impl super::Service {
|
||||
> + Debug
|
||||
+ Send,
|
||||
{
|
||||
let client = &self.services.client.synapse;
|
||||
let client = &self.services.client.federation_slow;
|
||||
self.execute_signed(client, dest, request).await
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user