Skip to content

Commit ac79353

Browse files
committed
Log While Waiting For Record to Add to Batch
Output a log message when we're waiting for a record to add to a batch. When the expression needs to process records to determine whether updates are needed, it may rarely or never send records back to Salesforce so we include some output to make it obvious that the application is still working.
1 parent eaa169a commit ac79353

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

execution.go

+2
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,8 @@ RECORDS:
285285
break RECORDS
286286
}
287287
}
288+
case <-time.After(5 * time.Second):
289+
log.Info("Waiting for record to add to batch")
288290
}
289291
}
290292
if len(batch) > 0 {

0 commit comments

Comments
 (0)