Rework User.Import to spin off a bunch of jobs instead of single-threading the task #306
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#306
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
From a bug raised on IRC
:background worker has a default timeout of 5s, which should be fine, but it handles mute/block/follow imports - this potentially has to make n HTTP requests which will easily exceed the timeout
instead, the 5s should be ok, but Import should instead spin off tasks to handle each entry instead of one big thingy
https://akkoma.dev/AkkomaGang/akkoma/src/branch/develop/lib/pleroma/user/import.ex#L43