perf: Remove saving Parse Cloud Job request parameters in internal collection _JobStatus (#8343)

This commit is contained in:
Thomas Foricher
2025-05-14 21:24:56 +02:00
committed by GitHub
parent 084ac5b90d
commit e98733cbac
2 changed files with 2 additions and 3 deletions

View File

@@ -76,7 +76,7 @@ export class FunctionsRouter extends PromiseRouter {
message: jobHandler.setMessage.bind(jobHandler),
};
return jobHandler.setRunning(jobName, params).then(jobStatus => {
return jobHandler.setRunning(jobName).then(jobStatus => {
request.jobId = jobStatus.objectId;
// run the function async
process.nextTick(() => {