neopostmodern / wohnungsbot

Der Wohnungsbot — die Anwendung zum 2. Akt ("Das Versprechen des Bots") des Automatisierungsdramas in drei Akten "Von einem der auszog eine Wohnung in Berlin zu finden" von Clemens Schöll
https://wohnungsbot.de
GNU Affero General Public License v3.0
156 stars 28 forks source link

180 cookie errors in the background #186

Open hoelger opened 1 year ago

hoelger commented 1 year ago

Currently on top of 102-* (so this PR has just one commit for now)

hoelger commented 1 year ago

My commit message is quite extensive and explains it a bit.

Although fixed, it broke down once more, but then ran threw solid several times, so I hope it was just a hiccup.

I don't understand why the error previously kept coming repetitively. Regarding the race condition: Let's say 3 tasks try to click the cookies away, 1 succeeds, 2 fail. So there should be only two errors. But from what I saw previously, once the error was triggered it came again and again and again...

This being said: I don't fully trust my current solution :)