mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-01-09 11:41:32 +00:00
Ignore outbox errors (#1870)
This commit is contained in:
parent
df6eefd371
commit
8a5e6db725
1 changed files with 6 additions and 2 deletions
|
@ -181,10 +181,14 @@ impl FromApub for Community {
|
||||||
let form = Group::from_apub_to_form(group, expected_domain, &context.settings()).await?;
|
let form = Group::from_apub_to_form(group, expected_domain, &context.settings()).await?;
|
||||||
|
|
||||||
let community = blocking(context.pool(), move |conn| Community::upsert(conn, &form)).await??;
|
let community = blocking(context.pool(), move |conn| Community::upsert(conn, &form)).await??;
|
||||||
update_community_mods(group, &community, context, request_counter).await?;
|
update_community_mods(group, &community, context, request_counter)
|
||||||
|
.await
|
||||||
|
.ok();
|
||||||
|
|
||||||
// TODO: doing this unconditionally might cause infinite loop for some reason
|
// TODO: doing this unconditionally might cause infinite loop for some reason
|
||||||
fetch_community_outbox(context, &group.outbox, request_counter).await?;
|
fetch_community_outbox(context, &group.outbox, request_counter)
|
||||||
|
.await
|
||||||
|
.ok();
|
||||||
|
|
||||||
Ok(community)
|
Ok(community)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue