This question is locked. New answers and comments are not allowed.
Hi,
I wrote a piece Cloud Code to set a relation in one of my tables and it has been working great ... since yesterday. I wasn't sure whether to open a ticket or write this post but maybe some of you are facing similar issues.
The cloud code I used for the last few days is based on this Thread:
Setting relations in Cloud Code
Working with UnitTests I created lot's of entries to run some performance tests and without changing the code, the tests failed all of a sudden due to a Server time out. Even opening my Types table in my browser didn't work anymore. So after playing around I came to the conclusion that Cloud Code is not reliable ... and to proof my theory I reseted everything, which made it work again, added following line of code into the beforeCreate Event ...
... and the Server time out again. I did this process a few times ( removing the comment and adding the comment ) with the same result: Any changes to my Cloud code, even a simple comment made the Server time out.
While writing this Thread I ran another test and it seems the issue has been solved but leaves me to the conclusion that I can't always rely on the Cloud Code.
So please note that my problem is solved for now but leaves an aftertaste concerning the use of Cloud Code.
Thanks and Regards
I wrote a piece Cloud Code to set a relation in one of my tables and it has been working great ... since yesterday. I wasn't sure whether to open a ticket or write this post but maybe some of you are facing similar issues.
The cloud code I used for the last few days is based on this Thread:
Setting relations in Cloud Code
Working with UnitTests I created lot's of entries to run some performance tests and without changing the code, the tests failed all of a sudden due to a Server time out. Even opening my Types table in my browser didn't work anymore. So after playing around I came to the conclusion that Cloud Code is not reliable ... and to proof my theory I reseted everything, which made it work again, added following line of code into the beforeCreate Event ...
Everlive.Events.beforeCreate(
function
(request, context, done) {
var
query =
new
Everlive.Sdk.Query();
/* are you working? done(); */
done()
});
... and the Server time out again. I did this process a few times ( removing the comment and adding the comment ) with the same result: Any changes to my Cloud code, even a simple comment made the Server time out.
While writing this Thread I ran another test and it seems the issue has been solved but leaves me to the conclusion that I can't always rely on the Cloud Code.
So please note that my problem is solved for now but leaves an aftertaste concerning the use of Cloud Code.
Thanks and Regards