Bug report
-
also, I just noticed that the same user/session increases the views on a forum post every time they view it. seems like that is a bit iffy behavior. I am guessing you are doing a simple INCR. One way I have gotten around this was to store a SET of sessions on each object that needs counted, length is then still an O(1) cost IIRC. Alternatively you can get crafty with lua and store the list of read posts in the session (and clear it).
Copyright © 2024 NodeBB | Contributors