logoalt Hacker News

zelphirkalttoday at 8:48 AM1 replyview on HN

Tricky! I often also guess wrong. But I noticed it has some bug. Sometimes I can click either option "AI Generated" or "Real" and nothing happens. Even if I click 10 times, still nothing happens. The buttons must have some broken event handling or something.

EDIT: Hm, I switched tab, away to write this comment, now that I switched back, it showed me that I clicked correctly. So it seems, that sometimes it just has huge delay in accepting my choice?


Replies

tomwojciktoday at 9:13 AM

The project got some traction, over 5k requests since I posted this. Probably the DB state needs to be optimized a bit. Thank you for reporting! I really appreciate it

Edit: I don't see slow traces in Sentry. No idea what caused this. Also, voting goes through redis and the dB load is low. Weird. I probably have to add gunicorn workers.

Edit2: Bumped gunicorn workers from 2 to 4. Should be fine now, under the current load. Again, thank you for reporting!