BrickGrass / StarlightGlimmer

A pixel website utility bot
Other
3 stars 5 forks source link

Pixelzone caching not working #17

Open BrickGrass opened 4 years ago

BrickGrass commented 4 years ago

Seems my caching is failing. rip. I'll have to look into the issue and see if it's messages getting dropped from the websocket and gradually causing the chunk to fall out of sync, or if it's them not getting recorded at all. Might be an idea to reduce the lifetime of the chunks? idk the ratelimiting is so heavy don't want to toe the edge too much. I did also just realise that I don't invalidate the cache when it detects the the connection got dropped, which is, bad oops. I'll do something for that maybe.

BrickGrass commented 4 years ago

Okay, I've popped something in to completely invalidate the cache whenever a disconnect occurs. We'll see how much that helps.