about summary refs log tree commit diff
path: root/kittybox-rs/src/webmentions/mod.rs
Commit message (Collapse)AuthorAgeFilesLines
* webmentions/queue: move JobQueue trait into kittybox-utilVika2023-07-091-1/+3
| | | | | | | The trait itself seems basic enough that it could be reused elsewhere. Better to keep it in a separate crate. `-util` is a dumping ground for various things anyway.
* webmentions/supervisor: ability to cancel a background taskVika2023-07-091-13/+54
| | | | | | | | This requires the background task to be cancellation-safe, as it is dropped after receiving a cancellation event. Perhaps in the future there will be a supervisor version that may forward the cancellation to the task itself.
* webmentions/queue: give up on an item after 5 attemptsVika2023-07-091-0/+4
| | | | | | This also involves a crude "async drop" implementation that fires a future incrementing an attempt if a Job has been dropped without marking it as done.
* WIP: incoming webmention supportVika2023-07-091-0/+75