I have added a remote method to my Image model. Everything used to work well until i decided to update the loopback npm package.
The remote method is very slow and I can see the following pending request in the network tab.
I don't know what exactly has changed; I even re-installed the npm packages I had when everything was running well but the issue is still there.
I tried added some breakpoints to my remote method as well, but it takes some time to hit them.
It seems like there is a cpu bound operation that blocks the thread.