Skip to content

Handle bookmarks that have a status of pending but weren't processed successfully #59

@labrocadabro

Description

@labrocadabro

Currently when a user add a new bookmark, we check if it exists in the DB already, and if it does, we don't add it to the message queue for processing. However, when the status of the bookmark is pending, we could be dealing with one of two situations:

  1. the bookmark is currently in the queue and will be processed.
  2. the bookmark was not processed successfully for some reason and will never leave the pending state.

This is currently being handled by deleting the record from the DB when the processing fails, but this doesn't take into account cases where the processing only fails temporarily. It would be better to configure the queue to retry a certain number of time and then send to a dead letter queue if it continues to fail. Then it can be deleted from the database only when it reaches the dead letter queue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions