about summary refs log tree commit diff
path: root/kittybox-rs/src/webmentions/queue.rs
Commit message (Collapse)AuthorAgeFilesLines
* webmentions/queue: move JobQueue trait into kittybox-utilVika2023-07-091-46/+125
| | | | | | | 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/queue: give up on an item after 5 attemptsVika2023-07-091-17/+59
| | | | | | 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.
* 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.