0

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.

enter image description here

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.

Jordan Kasper
  • 13,153
  • 3
  • 36
  • 55
ppoliani
  • 4,792
  • 3
  • 34
  • 62
  • Can't really say one way or the other until you include some code examples. Just a shot in the dark until then. – notbrain Feb 23 '15 at 16:27
  • Pending status means no response at all. – IvanZh Mar 04 '15 at 15:10
  • @IvanZh pending status means the server is still working on the request and that's the problem I'm trying to resolve – ppoliani Mar 04 '15 at 15:43
  • @Brian I fixed that by switching to the older versions of the loopback packages. I think there is something wrong with the latest mongodb connector. – ppoliani Mar 04 '15 at 15:44

0 Answers0