pufferfish101007 @pufferfish101007

Does anyone use beta wasteof these days?

Dec 22, 2023, 8:24 PM
10
View all

comments

Highlighted comment

probably not, memory leaks are very annoying

jeffalo said they should be fixed

they prob are, but the css and styling of v3 also isn’t my jam ngl

I was the one to find the bug :3 (it wasn’t really a memory leak, but the slowness was caused by a lot of promises waiting to return for a request to finish)

if jeffalo made requests be async couldn’t the problems be fixed?

It was a problem with the way jeffalo implemented a hook from a 3rd party library, there was only meant to be one which wouldn’t be a problem, but a new one was getting created on every post render. The way the library handles it is it runs one hook callback at a time and the server has to wait for all the hooks to be ran before the post could be added to the final page. After about 18 hours of non-stop requests the server was taking upwards of 500ms to render a single post due to how many hooks had been created and never deleted from previous requests.

I don’t really understand but cool