Skip to content Skip to sidebar Skip to footer

Parse.com Save Slow With Pointers To Files

I have a class called Photo with Parse.Files for different sizes of the photo and a bunch of photo metadata. Everything is working fine until I try to update one of the non-File f

Solution 1:

I was able to determine that this was actually my afterSave handler for this class doing unnecessary work.

It was only supposed to be running at initial object creation, but was running every time and sometimes even in a recursive way. Added some logic to achieve the desired behavior and everything looks to be working as expected.

A good point to note is that it looks like the HTTP request for save() will not return until after the afterSave cloud module has completely finished running. This wasn't clear to me until after thorough testing.


Post a Comment for "Parse.com Save Slow With Pointers To Files"