hi I’m trying the custom code business logic in PHP but i receive this message
error - Custom business logic execution has been terminated because it did not complete in permitted time - 20 seconds
this problem appears without writing any server-side logic. During the first tests it’s all right, but, after some attempts the problem begins and persists.
client side code
var user = Backendless.UserService.getCurrentUser();
var files = [cvr, img, blob];
var saved = Backendless.Files.upload(files, "user/" + user.objectId + "/event/temp", true, response);
PHP custom code (empty)
class UserFolderEventHandler extends BaseFilesEventHandler
{
/** @annot( { "beforeMoveToRepository":{"Async":"true"}} ) */
public function beforeMoveToRepository($runner_context, $file_url_location){
}
public function afterMoveToRepository($runner_context, $file_url_location, $execution_result){
// echo "funziona";
}
/** @annot( { "afterCopyFileOrDirectory":{"Async":"true"}} ) */
}