Skip to content

Async improvements #100

@hupili

Description

@hupili

Add action log in DB

We can not trace previously updated messages. Add one log entry in the DB for each updated messages.

Add a fail queue

  • add failure counts for each message
  • if failure counts greater than threshold, put in fail queue.

Or else, async daemon will continuously try and fail on the same error.

Multi-thread not only SNSPocket.home_timeline but also Platform.home_timeline

the current async pocket takes sync version of home_timeline in a batch. If one channel get stuck, others are also stuck.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions