diff options
author | Vika <vika@fireburn.ru> | 2021-05-06 17:13:03 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2021-05-06 17:13:03 +0300 |
commit | aecb72d104dae2bcdeafdb01f0e33ad92ecf27d4 (patch) | |
tree | bfa3178bd47ebbe701e99307ba3842f717bba719 /src/bin/kittybox_bulk_import.rs | |
parent | d56fcb55c033e47d5b4ccadef5032f6f0412b642 (diff) | |
download | kittybox-aecb72d104dae2bcdeafdb01f0e33ad92ecf27d4.tar.zst |
Added post-processing of new posts
This launches a background task to handle: - Downloading reply contexts (requires an MF2 parser, doesn't work yet) - Syndicating the post (currently no syndication targets are defined) - Sending WebSub notifications if a hub is present (WIP) - Sending webmentions (ok this one is fully implemented... I hope!) This background task should not impact processing times and should never conflict with futher updates of a post, since the database is guaranteed to be fully atomic. Inside of the task, you can run long asynchronous fetching and stuff, just don't block the whole thread.
Diffstat (limited to 'src/bin/kittybox_bulk_import.rs')
0 files changed, 0 insertions, 0 deletions