about summary refs log tree commit diff
path: root/kittybox-rs/src/webmentions
Commit message (Collapse)AuthorAgeFilesLines
* webmentions/queue: move JobQueue trait into kittybox-utilVika2023-07-092-47/+128
| | | | | | | 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-092-17/+63
| | | | | | 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
|
* Create a job queue based on PostgresVika2023-07-091-0/+179
It's generic enough to be used for anything, but for now it's only gonna be used for webmentions.