calpaterson / quarchive

Traditional "Web 2.0" social bookmarking, with small improvements
https://quarchive.com/
GNU Affero General Public License v3.0
100 stars 6 forks source link

When messages pile up, things go terribly wrong in the bg-worker #31

Closed calpaterson closed 4 years ago

calpaterson commented 4 years ago

Description

Things go terribly wrong in the bg worker when multiple (4+) messages stack up. Something rotten in Missive.

Steps to reproduce

  1. Queue a number of messages for the bg-worker (can just publish when it's stopped)
  2. Then consume them all at once

Expected result

Messages processed one after another

Actual result

Processor crashes.

Additional details

Looks like there are a few different problems occurring:

calpaterson commented 4 years ago

Steps to a robust resolution:

calpaterson commented 4 years ago

Relates directly to https://github.com/calpaterson/missive/issues/1 and should probably fix https://github.com/calpaterson/missive/issues/2 at the same time

calpaterson commented 4 years ago

And requires https://github.com/calpaterson/missive/issues/3